... develop some utilities etc. for my Newt but I find it VERY hard to justify shelling out another $800. Are there any other utilities and technical references available to allow some basic programmin?
Bob Kirnum
Subj: Nope
Date: 93-12-25 18:12:17 EST
From: AndrewWelc
Posted on: America Online
>>
... develop some utilities etc. for my Newt but I find it VERY hard to justify shelling out another $800. Are there any other utilities and technical references available to allow some basic programmin?
<<
Sorry to say that currently the only way I know of the develop apps for the Newton is to purchase the $795 Newton Developer's Kit from Apple.
I concur with your desire for a less expensive Newton development platform.
Andrew
Subj: Oh well ...
Date: 93-12-26 21:31:55 EST
From: RobertK54
Posted on: America Online
Thanks for the info Andrew 'Maelstrom' Welch!
I didn't really expect there would be a reasonably priced tool. Any books providing technical details of the Newt ? I am interested in such things as the infra-red interface and its capabilities (other than beaming data).
Bob Kirnum
Subj: Re: IR Interface (RobertK54)
Date: 93-12-26 21:52:01 EST
From: CreamNEggs
Posted on: America Online
Bob:
The IR interface really is designed for beaming small amounts of data between 2 Newtons. I believe there is a discussion thread here somewhere that covers the topic in some detail. (Check the Newton Games discussion too - it might be there).
The biggest problem though (apart from speed andpower requirements) is the simple fact that there's not much documentation yet.
Incidentally, the NTK is very reasonably priced but I will resist the urge to lecture...
Bill Colsher
Subj: Newton Programming Tools
Date: 93-12-27 11:06:55 EST
From: LouKrieg
Posted on: America Online
If it's any comfort (it probably won't be :-)), the cost of getting into Newton development is actually incredibly low if you own a Mac.
As the proprietor of a new company developing for the Newt, I have considered the Zoomer and other pseudo-PDAs (i.e the Pen-Windows platforms) and I'll need to acquire a PC to do that work...so it ends up that you really need both platforms anyway. Perhaps the PowerPC based machines will make this a bit more pleasant.
I guess the real issue is that if you're going to do development commercially, a few thousand dollars to set up a business is pretty low compared to, say, buying a MacDonald's franchise! And, I suspect, a lot more fun! And the cost is certainly lower than setting up to do serious Mac development (ETO is about $1300 plus MacApp, etc).
Subj: Re:Novice Programmer
Date: 94-01-01 23:44:55 EST
From: DrErle
Posted on: America Online
How much of a genius do you (I) have to be to program the Newton? I did some (ancient) rudimentary stuff in the past in Basic, Fortran etc., and have written an application in Filemaker Pro. Would my $795 be down the toilet?
Subj: Re:Novice Programmer (DrErle)
Date: 94-01-02 00:15:10 EST
From: PDC Joe
Posted on: America Online
I think that the big question you need to ask yourself is how well versed you are in object oriented programming or how much time you're willing to devote to learning the concepts.
The NTK is a fantastic development environment and NewtonScript really is a pretty easy to learn and use language. I think someone with your particular background, coupled with some good OOP experience should be enough.
However, the docs are Alpha, so do not expect to learn OOP from the NTK manuals. I don't want to discourage you and if the NTK was a hundred bucks, I'd say definitely go for it, but it's a sizeable (though IMHO more than worth it) investment.
Hopefully some of the other developers will chime in with their opinions. I guess basically my final advice would be if you're willing to put the time and effort into it, I'm sure you could do it, considering your background, as long as you get up to speed in OOP.
PDC Joe
PDA Forum Consultant
Subj: Re:Novice Programmer (DrErle)
Date: 94-01-03 11:30:26 EST
From: LouKrieg
Posted on: America Online
I think learning NewtonScript is not too much of a challenge if you have some notion of OOP concepts; however, learning all the ins and outs of the Newton and NTK is a fairly major undertaking given the current state of the documentation. That is to say, MANY of the key things I have learned have come from many hours on the forums, reading AppleLink postings, and articles in PIE Developer and the Apple Q&As. Oh yes, and purusing sample code to figure out what the heck its doing.
In summary, in addition to the bucks, prepare to spend several person-months becoming proficient if you want to do useful things. Perhaps I've been a software developer too long, but as much as I love my work, I don't think I'd be able to justify it as a hobby!
Then again, like anything, if you want it badly enough...
Subj: Novice programmer & NTK (DrErle
Date: 94-01-05 01:51:23 EST
From: Don Doe
Posted on: America Online
The answer to what it takes to program the Newton depends on what you want to do. If you're looking to do an application that does networking, or beaming, or take advantage of "Newton Intelligence (TM copyright reserved etc. Apple)" then it may be quite difficult. The Newton is a very young machine -- the documentation hasn't caught up with the capabilities yet.
However, I don't want to be discouraging! If you have somewhat more humble aspirations -- like a simple rolodex database, or just tooling around making interesting data displays, and so on -- then you might find programming on the Newton straightforward. Note that you will have to understand object oriented programming to make any headway. Some people find it quite difficult to make the adjustment from a procedural language to object oriented; I don't know of many who have jumped directly from a line numbered approach straight to OOP. Depending on what kind of BASIC you were using, you might face a lot of learning.
In sum: programming on the Newton can be a lot of fun. Once you "get it," you can make snazzy displays very, very quickly, and make interface changes instantly. It's a viscerally satisfying environment. However, if you start digging into the guts of the system, it gets a lot more frustrating very quickly.
It seems as though Apple could create a development environment which would allow only interface tweaking stuff, and leave the heavy-duty stuff to those with the stomach for it. Probably be cheaper, and easier to use... Sound like what you're looking for?
Subj: RE:Novice Programmer
Date: 94-01-09 03:55:19 EST
From: Joker19264
Posted on: America Online
I agree competely with the ease of designing screens and the complexity of going in to the guts of it. For five years I programmed professionally in foxbase and I have found moving to object oriented concepts more difficult than I ever thought I would. Prograph is an excellent object oriented and dataflow develeopment enviornment for the Mac and I learned my basic OOP concepts much easier on it than Newton toolkit. Without learning OOP through Prograph I would not be near as far in to the NTK as I am now. It does get easier if you give yourself time to digest it and if the time was put in even a novice programmer would eventually get the concepts by looking at the many examples Apple gives the improving documentation, and online help available. I have also heard that more than twice as many examples will be coming in the next Newton release, is this true?
Subj: RE:Novice Programmer (Joker)
Date: 94-01-09 12:07:18 EST
From: PDC Joe
Posted on: America Online
I think that Apple will provide as many examples as get "blessed". Apple has always been pretty good at providing examples.
Regarding learning OOP. I think if I were to recommend a beginning system for the specific purpose of doing so, I would NOT recommend Prograph but rather DigiTalk's SmallTalk. The fact that you were able to learn OOP concepts via Prograph is a great example that anyone can learn anything with anything, given enough determination! This is no knock to Prograph, which is a fine system, but I don't think that it is necessarily any *easier* to learn than NewtonScript and the NTK.
That's my 2.5 cents <g>
BTW, I'm a FoxPro jock as well and MS claims that subsequent releases will be more OOP oriented...it remains to be seen.
PDC Joe
PDA Forum Consultant
Subj: IR link
Date: 94-01-28 18:25:30 EST
From: MikeB10613
Posted on: America Online
I intend to interface a custom device to Newton via the IR link. Where can I get the necessary info?
Subj: Re:IR link
Date: 94-01-28 20:27:37 EST
From: G Amstutz
Posted on: America Online
From Sharp. Sharp will send you the protocols necessary to send/receive IR data from the Wizard. Since the Newton can understand the Wizard IR protocol, I suggest you use theirs. Apple isn't publishing their IR protocols yet.
Subj: Re:IR link
Date: 94-01-28 23:43:26 EST
From: Dr Newton
Posted on: America Online
Apple can not publish 'there' IR protocol because we do not have one. We use the Sharp IR protocol standard, and you can get that information from Sharp.
DN
Subj: Writing on the Newton
Date: 94-02-01 23:12:31 EST
From: Phyton
Posted on: America Online
I continue to have serious problems communicating with my new Newton. Tonight I tried to print on the screen "How about them Cowboys!" It responded with "Zion about them Condems." No serious writing can ever occur on this thing until I overcome this SLIGHT problem. Give me a tip or two. PLEASE!
Subj: Re:Writing on the Newton
Date: 94-02-02 02:12:32 EST
From: RichKaapke
Posted on: America Online
Double-tap on the recognition icon (the letter A in a box, usually in the lower left corner of the notepad) and go through the settings.
Allow the Newton adequate time to recognize, and permit healthy delays before it translates. That is, intentionally slow things down and increase accuracy.
The next thing to do is find the letter styles. If you only use block printing, use the setting for block printing only. Ditto for the case if you only use cursive. The mixed setting is the hardest to get right for many people. (IMHO)
Next look at the letter styles. Choose a letter and look at the various versions of it. Tap on each one. Watch carefully how it makes the letter. You MUST draw the letter this way. If you don't, push the little button underneath that says you seldom write the letter that way. Go through the alphabet and make these adjustments.
Remember, the recognition isn't worth beans if your Newton is "set up for guest user." It tends to only learn when that box is UNchecked.
Subj: Newton Documentation ?
Date: 94-02-06 01:24:52 EST
From: BradS79436
Posted on: America Online
I am doing research into Newton development. I have looked around a lot before posting this because I don't like to waste people's time reading all of these messages. So here goes ...
I am putting together a proposal for porting some existing Mac games to the Newton. I need to do a feasibility study before spending any money because the money is mine. (The joy of being self-employed) I would like to download a copy of the Newton API or Programming Language guide. Where might I find something like this ?
Also, I am interested in things like production costs for Newton plug in cards. Is there a source of information like this short of calling somebody at Apple ? I am on AppleLink and can contact somebody there if I have a name or department.
Any help would be greatly appreciated, especially for the first question, since the second might become irrelevant.
Thanks
Subj: Re:Newton Documentation ? (Brad)
Date: 94-02-06 03:16:48 EST
From: PDC Joe
Posted on: America Online
Brad,
You can d/l NTK docs and info and such from the Newton PIE area on AppleLink. It is also available from the 1993 Newton Platform Development Conference CD if you have access to that.
As for production costs on PCMCIA cards, I suggest contacting:
Ace Technologies, Inc.
2880 Zanker Rd., #103
San Jose, CA 95131
PH: (408)0428-9722
FAX: (408) 428-9721
Hope this helps.
PDC Joe
PDA Forum Consultant
Subj: Improving Recognition
Date: 94-02-08 09:32:40 EST
From: GreyERWrit
Posted on: America Online
Try increasing the width of your penstroke. It's also in the Extras drawer, under Styles. There's a row of dots to the right. Try moving down one thickness. Maybe it just forces you to write bigger, but it seems to help.
Subj: Beginner HELP
Date: 94-02-09 19:15:36 EST
From: Zoot757
Posted on: America Online
I've NEVER programmed anything in my life... but I'd like to try NTK to write a simple program....
I have NTK..... have been playing with it and went thru the tutorial.. (big deal! :)....
Would some nice person out there care to help me via e-mail... JUST TO GET STARTED.... I can't figure out a few things and need some PLAIN ENGLISH answers......
Any help would be appreciated... please E-mail Zoot757.... I could possibly trade some of my DTP or artistic talents for this help.. I do glass carving and would be happy to make something special for Valentine's Day or B-day for someone in your life in exchange for your knowledge!!!!
Thankyou!!!
Subj: Re:Beginner HELP
Date: 94-02-09 19:27:28 EST
From: PDC Joe
Posted on: America Online
Well, *right here* is really the best place to learn about programming the Newton! We're fortunate enough to have some really top-notch NewtonScript programmers that hang out here (top industry people.)
What, specifically, do you need help on doing? Also, have you turned on your logs and gone through the Newton Development folders? There's a *wealth* of information already here for anyone willing to take the time to check it out...I highly recommend it.
Post your questions and comments right here! (Just use keyword PDA!)
PDC Joe
PDA Forum Consultant
Subj: Re:Beginner HELP (Zoot757)
Date: 94-02-09 20:47:39 EST
From: PDA Craig
Posted on: America Online
Hey, instead of getting help via Email, please post your questions here. That way, the resident experts can answer you publicly and everyone benefits... consider this your Newton Programming classroom! :)
Craig de Fasselle (PDA Craig)
PDA Forum Leader (keyword PDA)
Subj: Re:Beginner HELP
Date: 94-02-10 11:32:43 EST
From: Zoot757
Posted on: America Online
I have (for the past 4-5days) been browsing through the development folder.... I've learned a few things.... I've just started reading parts of the NTK book also... haven't seen anything on turning on "logs" tho.... ???
I'm looking to make a button titled "NEW" that when clicked will bring up the "NAMES" (soup I believe) templet so that the user can fill in the name, address, phone, etc. of a new person to be filed under "NAME" in the Newton.
Someone has said use: theStores:=GetSoup: ("Names") and that doesn't work....
I'm also using protolabelinput and can't get it to store anything.
I'm going through the tutorial again today..... think that will help?
Thank you
Subj: Re:Beginner HELP
Date: 94-02-10 19:12:57 EST
From: RoberRK
Posted on: America Online
Are you supplying the fields for the user to fill i (ie: name, address, phone, etc)? Or are you trying to make a button that will open the names "application" built into the Newton? Assuming your supplying the fields this is what you do. theStores := GetSoup("Names") was close, but not quite there. What you need is something like. theSoup := GetStores()[0]:GetSoup(ROM_cardfilesoupname). This will return a reference to the names soup. To then add a new entry you need to create a frame of all the information you want to insert, look at chapter 8 for the format of the names soup. To add that youll write theSoup:Add(frameName). About the protoLabelInput, there is a slot called entryline.text that stores the text written in the inputLine. Hope some of this helps.
RoberRK
Subj: Re:Beginner HELP
Date: 94-02-10 22:33:48 EST
From: Zoot757
Posted on: America Online
RobeRK! You now have claim to my first born child! :)
Yes I'm trying to access the built in "Names" application....
I also want to be able to have this customer line (for a customer name) be able to "find" if that particular customer already exists...... there any way to do that?
Thank you for all your help and I'll give your suggestion a try... I think once I get a couple of these "links" down I'll be OK.
Subj: Multi-view applications?
Date: 94-02-11 09:07:23 EST
From: Fading
Posted on: America Online
How does one make a multi-view(?) application?
I want to make my application jump from one type of window to another like the Preferences Overview but without the scrolling.
Suppose we have:
Initial Screen
choice 1
choice 2
The user clicks on choice 1, we then jump to:
Choice 1 screen
choice A
choice B
The user clicks on choice A, the view changes to:
Choice A screen
e.t.c.
Any hints? I'm terribly lost with the NTK Docs. :P
--
The Evil Tofu (Only Human)
Subj: Re:Multi-view applications?
Date: 94-02-11 11:49:50 EST
From: LouKrieg
Posted on: America Online
Suggest you go step by step through the Quick Tour of NTK in the Guide to the Newton Toolkit manual...it shows how to do linked subviews, which is exactly what you're asking.
Its a little bit too involved to go through right here online.
Best of luck!
Subj: Re:Novice Programmer (DrErle)
Date: 94-02-20 12:52:29 EST
From: Klowy
Posted on: America Online
i knew nothing about OOP when i got NTK. it's really not that hard to pick up the basic concepts, but the big problemm (for me) is that NTK is still beta. the docs are somerwhere between alpha and beta. consequently, there are a lot of things that make no sense to me. and then there are things that don't work the wayt the manual says it should beccause NBTK was revised and the manual wasn't. it's a serious learning process. i think the Newt is great, but you should be aware that apple support for developers is NIL. there are a few people there who are helpful (through A-Link mostly) but for the most part, they're "to busy" to help developers. if i knew what i was in for when i started the process i'd still have done it. so i guess that's positive.
klowy
Subj: Re:Novice Programmer (DrErle)
Date: 94-02-20 16:49:24 EST
From: Lynford D
Posted on: America Online
I also got the NTK it took about a week. I started with the Make a Newton Book and after four tries I got one to work.
LynfordD
Subj: HELP! Porgrammer needed!
Date: 94-03-15 12:08:33 EST
From: OpusPengui
Posted on: America Online
Hi!
I have a relatively simple database I need designed for the Newton. This is a small commerical market for the rsulting file and will be more than happy to share a percentage of profits, plus a small initial fee. I have specs written up and am ready to go! If interested, please e-mail or call my office at 301-670-1921.
-jon
Subj: PC Based Development
Date: 94-03-16 20:22:09 EST
From: MikeTuck
Posted on: America Online
I am interested in programming for the Newton, but is there anything available for the PC platform?
Thanks
Subj: Re:PC Based Development
Date: 94-03-17 01:25:55 EST
From: PDC Joe
Posted on: America Online
Mike,
Apple has plans for an NTK for Windows, but when it will be available is hard to say since it hasn't been officially announced.
PDC Joe
PDA Forum Consultant
Keyword: PDA
Subj: Re:PC Based Development
Date: 94-03-18 05:13:34 EST
From: SteveWeyer
Posted on: America Online
I have a shareware package called "Newt 2.0" (right here on AOL) which allows you to do native Newton development -- good for learning and small applications (in addition to the turtle graphics stuff). Some of my users are PC-based developers, so Newt may be a potential way for you to get started while waiting for Windows NTK.
Steve
Subj: Re:PC Based Development
Date: 94-03-18 13:08:16 EST
From: PDC Joe
Posted on: America Online
Steve makes a good point! It's a good way to at least get up to speed without going out and buying a Mac and Mac NTK!
PDC Joe
PDA Forum Consultant
Keyword: PDA
Subj: NewtonBook Search/Find
Date: 94-03-25 16:26:01 EST
From: RyderG
Posted on: America Online
Hello, I am a very much beginning Newton book developer trying to make medical reference type books. I have made some simple books with the ability to use the overview to locate given chapters, but I want to add a search/find function so people can look up a user entered word.
Can anyone help me out? The documentation in the NTK reference book is beyond me if its there at all.
Thanks, and you can e-mail me if it is involved.
Ryder Gwinn
"RyderG"
Subj: Books
Date: 94-03-26 02:03:11 EST
From: Chewie8625
Posted on: America Online
I have a bunch of Stephen King unreleased short stories in MW format and was wondering if there is anyone out there who would be willing to convert them into a newton book for me?
Thanks, E-mail Chewie8625
Subj: Re:NewtonBook Search/Find
Date: 94-03-27 10:22:28 EST
From: Bruce921
Posted on: America Online
The simplest solution would probably be to use NTK BookMaker in NTK version 1.07. It accepts word processing files (ala MS Word, etal) including imbedded PICTs and converts them to a book. These books can be searched via FIND, be marked-up by the reader and contain a Table of Contents which allows the reader to jump to a specific chapter. The only caveat is to be sure that you have installed Claris XTND v1.3.6 or greater so that BkMkr will recognize the WP document properly. Otherwise, only TEXT files are acceptable.
Subj: Re:NewtonBook Search/Find
Date: 94-03-28 09:27:37 EST
From: LouKrieg
Posted on: America Online
Ryder,
You don't have to do anything to add a find capability; its built in to every Newton!!
Just tap the "Find" icon at the bottom of the screen, enter a word, and away you go!
Subj: NewtonScript Syntax?
Date: 94-03-28 17:30:02 EST
From: WizLord
Posted on: America Online
Hi all,
Does anyone have the newtonscript syntax reference in NewtonBook form? If so, could you upload it please? I'll also settle for a copy in electronic form. I have a few ideas, but haven't decided to plunk $800 or whatever down on the NTK yet. I'd like to see what I'm up against, and maybe get a head start. Thanks
WizLord
Subj: Re:NewtonScript Syntax?
Date: 94-03-29 04:48:30 EST
From: SteveWeyer
Posted on: America Online
You can do NewtonScript programming with my shareware package Newt (Newt-Turt here on AOL; also see RUNewt). Newt is a native development environment for building small apps; also for doing turtle graphics programming. The version online does have enough text to give you an idea hopefully of what's possible. If you register, I send a hardcopy manual (summarizing NewtonScript in ~6 pages; detailing Newt's methods; additional info about the interface and creating methods) & then various supplements and examples via email. Give it a quick look. For $25, most of my users think it's a bargain compared to NTK. Though, for large "industrial strength" apps, NTK is really the only way to go.
Steve
p.s. I haven't yet made a Newtonbook version of my docs -- content still changing...
Subj: Re:NewtonScript Syntax?
Date: 94-03-29 18:31:46 EST
From: WizLord
Posted on: America Online
Hi Steve,
Yup I'm familiar with Newt, and my $25 is going out this weekend. I've looked at Newt and have told others about it. It looks great from what I've been able to twiddle with a NS function list.
I'm waiting for you to produce fully packaged apps next (-;
I realize you can't do "industrial strength" stuff yet, but I think you are definitely onto something with your package.
If you ever do get true Newton apps rolled up, $25 is TOO modest a price (especially if you can support most or all of the NS syntax.)
You mentioned no interrupt services under Newt, does that mean it doesn't support any comm? That would be high on my priority list.
Also, it would be great (yes I know, I'm asking for the universe after I just got done asking for the world...) if you could have all the standard NS keywords/tokens/functions in popup form. Scribbling/typing them in is a pain especialy if they aren't in the dictionary. It would be sort of like a "proto-visual" programming environment (-;
How about a version that doesn't have the turtle-graphics functionality to save on some memory? Turtle graphics are fun, but I'm more interested in doing some apps. I don't know, maybe the turtle graphics are too tightly coupled to the Newt to do...just an idea.
Anyway, thanks for a great start...and yes my $25 *is* going out this weekend. Oh by the way, we're sort of neighbors...I'm down in Horsham.
Cheers and thanks,
WizLord
Subj: Re:NewtonScript Syntax (&Newt)?
Date: 94-03-30 13:45:40 EST
From: SteveWeyer
Posted on: America Online
thanks for the comments/praise.
well, there are some limits (mainly frame heap) to the size of app you can build with Newt (I don't know if this gets any better with MP 110 or new ROMs). I did redo my PicoFermiBagels package as a Newt app and it worked fine (source available as an example); I'm in the process of testing a larger app. I've found a few additional ways to conserve frame heap a bit more effectively (these, plus more system protos, will be available in 2.1, which I'll be releasing after I get my next version of NTK "real soon"). doing apps as packages appear to require separate licensing of Apple's package/"flattened frames" format -- I'm still trying to obtain some clarification/discussion of this.
others have said that $25 is too cheap also. I figured that those that figured that out would get bargain, and others just wouldn't know what they were missing. price would have to be higher if I went through a distributor. go for volume (still a trickle as shareware currently). maybe certain new modules would cost extra. if users start expecting much more complete documentation, 800# technical support, etc. -- hmmm, how does $800 sound :) ? [actually, if you want real support from DTS, it costs an additional several $K per year]
Newt does not preclude use of interrupt services like comms -- it's just that if you execute an expression at "user level", there's no pre-emptive multitasking in the Newton OS, so you have to wait for it to complete, unless you schedule your task as a set of subtasks -- as demonstrated in the squiral2 example and documented in the Newt manual. comms are basically an object-oriented state-machine, driven from a lower level so they should work fine in Newt (they're just frames, with state symbols that refer to methods, though I don't provide any examples or docs (yet)). [my main familiarity with comms is I've taken the DTS Slurp example and customized it a bit ("Slurpee"), so that you can transfer soups (including Notes) bidirectionally using a desktop terminal emulator w/o NCK; avail to Newt users now; will release to the general public one of these days]
you can customize Newt's code templates list to contain your own tokens/ expressions, and also the popup that appears when you tap Expr -- detailed in the manual. you might also want to take a look at Erica Sadun's Figgles Utilities (KbdPro) to build your own custom keyboards (and of course, you could build your own keyboards in Newt, though no examples yet...). in my copious spare time :), I'll take a look at providing a palette of protos for building apps a little more interactively.
I have thought about bifurcating the versions -- newt-turt, newt-app and newt-both versions (a few others have requested this too). The turtle stuff is not deeply intertwined, and I might be able to maintain as one version in NTK with compile-time flags, and in FrameMaker with conditionaltext. It would definitely save some space on package size, but probably not on heap space.
Well, I'll look forward to your check, and keep those questions and referrals coming. Horsham (near Willow Grove, right?) -- that would put you in the position of my closest user, edging out the current record holder from Philadelphia. farthest user is probably a tie between Italy and Austria (depending on actual city).
Steve
Subj: Re:NewtonScript Syntax (&Newt)?
Date: 94-03-30 14:38:11 EST
From: WizLord
Posted on: America Online
Thanks for the response Steve. Seems like Newt is the way to go (-;.
I did have another idea...how about MacNewt? A Macintosh version which would let you develop the app on a Mac and then let you download it to the Newt? ..... nah...you'ld prolly have to charge $750 (-;
Cheers
WizLord
Subj: Newton Servers...
Date: 94-04-10 12:57:34 EST
From: WizLord
Posted on: America Online
Hi, has anyone put a line trace on a Newton Mail session to see what the actual data stream looks like? I'd like to write a standalone Mac server application that would use the NewtonMai dialing/logon protocols, etc..
Also, does anyone have a sample source for doing simple telecom on an MP? config, dial, read/write to the port, etc.
Thanks
WizLord
Subj: Re:Newton Servers...
Date: 94-04-11 12:56:18 EST
From: CreamNEggs
Posted on: America Online
WizLord writes:
-----
Hi, has anyone put a line trace on a Newton Mail session to see what the actual data stream looks like? I'd like to write a standalone Mac server application that would use the NewtonMai dialing/logon protocols, etc..
Also, does anyone have a sample source for doing simple telecom on an MP? config, dial, read/write to the port, etc.
-----
Protocols...no doubt someone is reverse engineering these as we read... However, my own experience is that Apple has been VERY helpful to developers with actual applications who need documentation not in the NTK package. You might want to contact your regional PIE evangelist (or whatever they're called these days). You will need to show something more than a concept to get their attention though...
Telecom...there should be several examples in the sample code that comes with the NTK. This is a fast moving area as the PIE engineers adapt the various proto endpoints to the "real world" uses developers are demanding.
If you're not a registered developer and have even semi-serious commercial work to do you should definitely spend the bucks to become a registered PIE Developer. The Newton is moving to fast right now to keep up in any other way.
HTH,
Bill Colsher
Subj: Re:Newton Servers...
Date: 94-04-11 16:49:09 EST
From: WizLord
Posted on: America Online
Thanks for the info,
However, I can't justify the cost of an NTK much less PIE right now...especially since I'm interested in writing on the Mac side right now, since I have all the tools.
WizLord
Subj: Re:Newton Servers...
Date: 94-04-11 23:25:45 EST
From: PDC Joe
Posted on: America Online
>>
However, I can't justify the cost of an NTK much less PIE right now...especially since I'm interested in writing on the Mac side right now, since I have all the tools.
<<
I'd recommend that you hook up with someone who's willing to do the Newton side and work from there.
Joe Balsamo (PDC Joe)
PDA Forum Consultant
Keyword: PDA
Subj: Re:Newton Servers...
Date: 94-04-12 18:44:49 EST
From: WizLord
Posted on: America Online
haha good idea, but it still doesn't answer the question about the protocol...got some info from Apple though..it seems parts of the NewtMail protocol are licensed from AOL...so, AOL, how about publishing them so we can do some development, and save you the problem of developing a gateway? The actual protocol we need is the application level...ie..on Sprint...respond @D to CONNECT, respond D1 to TERMINAL=....respond C NEWTON*NEWTMAIL001 to @ to call NEWTONMAIL....
Ah well I can dream...I don't see AOL making that public...you guys want us locked into your software front end...problem is a Newton front end isn't forthcoming.... <tongue in cheek>
WizLord
Subj: Newton TV?
Date: 94-04-15 01:50:09 EST
From: AronCamp
Posted on: America Online
Is it possible to do some bad "video" on one of these things? That is, will it process still images fast enough? What about sound? Thanks...
Subj: Newt2.0 help...
Date: 94-04-15 18:17:20 EST
From: WizLord
Posted on: America Online
Hi all,
I've just started to seriously play aroud with Newt2.0 (NewtTurt) and came up with
something real simple, however it gives me an error -48807 (undefined variable) on
the variable 'float1.
I've dissected this and tried different versions...and I still can't get this to run...
Is it because I can't do an addObj on a protoFloatNGo, or am I doing something stupid?
Any pointers will be appreciated!
Thanks,
WizLord
PS- Steve Weyer's Newt2.0 is a terrific!!! package. Check it out and register! You get
MORE than your money's worth from Steve!
test1
//:removeapp('test1)
//:test1()
func()
begin
:addApp('test,"NewtTan");
:_demo1();
end
_demo1
func()
begin
// add an About button & popup view
:addObj('float1,
{_proto: 'protoFloatNGo,
viewBounds: RelBounds(20,220,150,90),
});
float1:addObj('aboutText,
{viewclass: 'clParagraphView,
text: "This application \"was\" written by "&
userConfiguration.name // the developer's name
,
viewFlags: 3, //vReadOnly+vVisible,
viewBounds: RelBounds(5,5,140,80), // relative to float1
});
:addObj('button1, // addObj to app
{_proto: 'protoTextButton,
text: "About",
viewBounds: RelBounds(100,265,40,16),
buttonClickScript: func() float1:open(),
});
end
Subj: Re:Newton TV?
Date: 94-04-16 02:26:04 EST
From: PDC Joe
Posted on: America Online
If you have to do it thru NewtonScript, I think it's probably too slow. You might be able to do something when the NTK that allows you to access the ARM more directly.
You're right about it being bad, the resolution would be horrid!
Joe Balsamo (PDC Joe)
PDA Forum Consultant
Keyword: PDA
Subj: Linked views in linked views
Date: 94-04-16 15:44:36 EST
From: ScottS6487
Posted on: America Online
I have a text button which opens a protofloatngo. Within the protofloatngo there is a button that is linked to another view. When I click the original button both linked views pop open. Why is that? The only thing I can think of is that when you click on a button that opens a linked view, the Newton opens ALL children views.
Any ideas?
Subj: Re:Linked views in linked views
Date: 94-04-17 09:27:48 EST
From: SteveWeyer
Posted on: America Online
you might check if the vVisible flag is turned on for the nested view. normally, this would be off for a protoFloatnGo or protoGlance. when you open a view, it does open all of its children (but won't show a child if vVisible is off).
steve
Subj: Third Party NT Programming Book?
Date: 94-04-21 13:39:13 EST
From: AnthonyC17
Posted on: America Online
Heard a rumor that there is a book being published by a third party on how to program on the Newton. Yes? No?
It would sure help me!!!!!
Subj: Re:Third Party NT Programming Bo
Date: 94-04-21 18:18:38 EST
From: DavidL62
Posted on: America Online
There is a book called "Newton Programming" (what else?) by McKeehan & Rhodes who are instructors at the Apple Developer U. It is published by Academic Press (800) 321-5068. I haven't seen it but am planning to order one soon.
Subj: Novice ToolKit for UG tutorials
Date: 94-05-02 02:07:27 EST
From: LonStarMac
Posted on: America Online
Well, it appear the only way that you can currently programmer the NEWTON as of this writing is to become an OFFICIAL commercial developer of Newton software.
Someone prove me wrong PLEASE!
As a local Macintosh User Group in Texas we would like to introduce our members to the Newton and let them experiment with producing sample scripts for various projects. We have a wide audience from business professionals and educators to students and kids.
Although at least three members have made Newton purchases recently, but we can't justify the expense of registering as a developer and obtaining the NTK package because they refect a small percentage of the overall population. What we need is a basic learning and programming package for the novice and educators for demonstration of basic Newton programing techniques. Finding such products for the Macintosh was no problem considering the multitude of compliers and languages that are available.
From what little we have seen it appears that Newton script can be quite easy to learn and something we would like to make available.
So, what's a user group to do while working the Newton with one hand tied behind their backs?
Are there any new products that fit this requirement?
Henry Wolanski
President
Lone Star Mac ONLINE
a Macintosh (Newton) User Group
AOL : LonStarMac
Subj: Re:Novice ToolKit for UG tutoria
Date: 94-05-02 10:59:20 EST
From: CreamNEggs
Posted on: America Online
>Well, it appear the only way that you can currently programmer the NEWTON as of >this writing is to become an OFFICIAL commercial developer of Newton software.
Not exactly. *ALL* you really need to do is cough up the $795 (less at universities I understand) to APDA for the Newton Tool Kit. It contains everything you need.
You only need to buy one of the Apple Developer support packages if you're doing pretty heavy duty products and need direct hand holding.
There are several things around that provide a taste of Newton programming:
1) Newt 2.0/RunNewt - shareware, available here
2) ViewFrame - commercial package, email CDS SEM here on AOL for info.
3) The new book from ummm, Neil Rhodes and someone else. It includes a limited version of the NTK.
HTH,
Bill Colsher
Subj: Re:Novice ToolKit for UG tutoria
Date: 94-05-02 12:39:42 EST
From: TomU216
Posted on: America Online
I have not seen this personally so this may be unfounded rumor, but ....
The recently released book on Newton programming for novices is reported to have a limited NTK included. I don't know how it is limited and I understand that one is forbidden to distribute any software developed. If true, this could be what you're looking for.
Regards,
Tom Unkefer
Nomadic Technologies
Subj: Re:Novice ToolKit for UG tutoria
Date: 94-05-02 13:51:02 EST
From: SteveWeyer
Posted on: America Online
well, let me add a plug for Newt 2.1/RUNewt 2.1 since I'm the author. it's a native Newton programming environment. you can build and distribute applications, limited only by your free frame heap, persistence and imagination. after reading the text files associated with the packages, you can send me more email for more info.
Steve
Subj: Re:Novice ToolKit for UG tutoria
Date: 94-05-04 01:30:35 EST
From: Fraser3737
Posted on: America Online
It is indeed true that the new book "Programming For The Newton" (Julie McKeehan and Neil Rhodes; ISBN 0-12-484800-1) has the limited version of the NTK on disk in the book. As a registered developer and purchaser of NTK, I can tell you the demo version is complete enough to make me angry. It's definitely the way for you to go.
Subj: Fraser3737
Date: 94-05-08 08:30:30 EST
From: Hohmann
Posted on: America Online
Thanks for the information. Do you know the name of the publisher?
Alex
Subj: Programming Help?
Date: 94-05-08 17:16:25 EST
From: RodJW
Posted on: America Online
I would like some kind sole out there to give me a little help. I have just started with the NTK and this is what I would like to do:
I am trying to create an order form. Once filled out, I would like to user to be able to Print, Fax, or Mail the form. I have modified a sample app to achive the filling in the form part with expandos. I am using the following for the fill in of the form:
{{proto: protoTextExpando,
lable: "Name",
path: 'sname,
entryFlags: (1 << 0) + (65635 << 9)}]
Does this store the entry in "sname"?
How can I later print this?
What does the "entryFlags" line do?
Any help would be much appreciated!
Subj: GPS PCMCIA Devel.
Date: 94-05-13 10:40:31 EST
From: SeanG169
Posted on: America Online
Has anyone ever tried to develop apps, or even use a GPS card with the Newton? Does it work?
--Sean
Subj: Newton program. book
Date: 94-05-14 17:24:23 EST
From: RodT32
Posted on: America Online
This is another, I'm just getting started lines. Does anyone know any good book that will help me with Newton Script?
Subj: Re:GPS PCMCIA Devel. - SeanG169
Date: 94-05-15 15:00:42 EST
From: PDC Joe
Posted on: America Online
>>
Has anyone ever tried to develop apps, or even use a GPS card with the Newton? Does it work?
<<
People have talked about it and a few have actually tried coding such an item, but as far as I know, there is nothing on the market yet. Hopefully someone will come out with something as the handheld units with graphics capability are around $1700!
-Joe
Subj: Re:Newton program. book
Date: 94-05-15 15:03:02 EST
From: PDC Joe
Posted on: America Online
>>Does anyone know any good book that will help me with Newton Script?<<
Try:
Julie McKeehan and Neil Rhodes, _ Newton Programming: Software
Development with NewtonScript_, Academic Press, 352 pp. paperback plus
floppy disc, ISBN 0-12-484800-1, $29.95, to be published April 1994.
Subj: Re:Newton program. book
Date: 94-05-15 23:21:26 EST
From: Fraser3737
Posted on: America Online
FYI, the book Newton Programming has virtually no references to NewtonBook utilization. The best references are the files in the NewtonBook section on making your own books.
Subj: Custom Need
Date: 94-05-19 23:44:06 EST
From: DakotaDude
Posted on: America Online
I am in need of a Newton Application Proposal. My needs are for an application that has six cells that are all pop up windows. Each cell (field) must be able to contain 100 descriptions. As the user selects each of these, the program will develop an item code from the six descriptions. I will need to update the data occaisionally and this will have to be considered.
This item code and description will need to be printed with a one step print process.
I would appreciate any ideas or proposals on this. Thank you.
Subj: new ntk book just out...
Date: 94-05-25 16:51:21 EST
From: Meitnik
Posted on: America Online
Useful stuff. But the screen shots suck.
Gee, us visually imparied folks are out of luck. Please upload screen shots from the book so i can print and follow the book better. thanks in advance. (or, email them to me)
Meitnik
Subj: Newton Programming: How to?
Date: 94-05-25 19:55:17 EST
From: LOTTSIM
Posted on: America Online
I'm strongly considering the purchase of a Newton, one of the major reasons(aside from having it organize my life) is to program it. As a Mac programmer, it seems fine to do. I've got several questions, though:
*Do you have to "write" out all that code?
*What is used to make most programs(C?)
*How much are NW programming languages?
*How similar is Newton programming to Mac? Is it an entirely different setup, or just different commands?
Thanks.
I'd appreciate it if you could E-Mail me about it, because I'll probably forget where I posted.
Thanks,
LOTTSIM
Subj: NTK
Date: 94-05-26 15:32:31 EST
From: TomDavey
Posted on: America Online
Is there any other way to get your feet wet without buying NTK? Are there any other developement tools available or on the way? I'm finding it hard to justify the price tag on the NTK without any paying customers. You can post or leave me mail at TomDavey.
Thanks, Tom
Subj: Re:NTK
Date: 94-05-26 21:15:33 EST
From: DavidL62
Posted on: America Online
There is a book by McKeehan and Rhodes on Newton programming that comes with a disk containing a demo version of NTK. I haven't tries the demo since I have NTK but it appears to let you do even more than get your feet wet. I recommend the book anyway.
Subj: Re:NTK book
Date: 94-05-27 09:14:24 EST
From: Meitnik
Posted on: America Online
I am reading it now. Its very good. But the screen shots are mostly crap (I suspect production was rushed).
Everything I learned from hc and some c++ really helped.
I think the NTK price is high as a filter to get only determined developers, perhaps when enough pkgs are out there that really demostrate NW usefulness, (and apple has made a nice tidy income stream from royality payments) they might lower the price. Besides NTK does not have quite the "what you draw is what you get" that windowscript has or the plug/play development enviroment that hc does have -- yet. NTK will become a killer tool fairly soon. But till than, I will wait for lower prices.
Fundemently, NS will play a key role is some nifty advances in computing down the way. HC's training wheels have served their purpose for me.
Subj: Re:NTK (another alternative)
Date: 94-05-27 12:06:43 EST
From: SteveWeyer
Posted on: America Online
A possible alternative to buying NTK (and possibly a Mac) to explore Newton development is a native shareware development environment (I wrote) named "Newt" (a somewhat ambiguous name but the first version was a kind of Logo-like turtle, so the named seemed apt) that allows you to build small applications (you can also save them but not exactly as packages). see newt-turt-21 in the library here (a new version available in "a few weeks"). here's the first couple of lines of the official description.
Steve
-----
Newt 2.1 (aka Newt Turtle):
a native environment for developing simple applications using NewtonScript,
and for creating graphics using gestures, buttons, and NS.
Keywords: object-oriented programming, application development environment,
Newt is shareware ($25 before 6/1/94) -- registered users receive a manual
describing additional features and NewtonScript syntax, along with source
examples. See NewtNews.txt for further info.
Subj: Re:NTK (another alternative)
Date: 94-05-27 17:31:22 EST
From: Meitnik
Posted on: America Online
Yes!! tell me, much more.....
Subj: IR TRANSPONDER & NEWTON
Date: 94-05-28 21:31:26 EST
From: BHAVANI
Posted on: America Online
I would like to know if a device like an IR reader could be attached to a Newton and input the data in to Newton by using the IR reader on a IR transponder.
I would appreciate any leads or pointers in this direction.
Thanks
BHAVANI
Subj: Bookmaking w/ demo NTK
Date: 94-06-02 21:33:16 EST
From: Matt RF
Posted on: America Online
Is it possible to make newt books with the demo NTK? If it is, what format do the files need to be in for them to be read by NTK.
Thanx muchly
Matt Frigo
Subj: Re:Bookmaking w/ demo NTK
Date: 94-06-03 00:00:43 EST
From: Fraser3737
Posted on: America Online
See my answer to your duplicate question posted in the previous folder.
Dennis Fraser
PDA NewtonBook Coordinator
Subj: Re:NTK
Date: 94-06-04 13:21:50 EST
From: TomEisen
Posted on: America Online
Tom:
I'd recommend picking up a copy of "Programming for the Newton" by McKeehan & Rhodes (ISBN 0-12-484800-1). For $30 you get a good intro to Newtonscript that comes with a demo NTK. As far as I can tell, this NTK only lacks the Bookmaker app and comprehensive documentation (you are limited to what's in the book!). Also, Apple prevents you from distributing any applications you might develop with it (you should buy the full NTK to do this).
Subj: Re:NTK
Date: 94-06-04 16:17:28 EST
From: MedMac
Posted on: America Online
the book "Programming for the Newton" references a book called "Advanced Programming for the Newton".. Does this book exist? has it been written, or published yet? anyone know?
MedMac
Subj: Re:advanced NTK book
Date: 94-06-04 17:19:20 EST
From: Meitnik
Posted on: America Online
Later this fall.
season.fall.oct
(bad pun.)
Subj: Programming The Newton...
Date: 94-06-05 14:53:42 EST
From: DavidBlack
Posted on: America Online
Just wanted to recommend this book to anyone who is currently or considering developing for the Newton. The written text is an excellent introduction to many of the basic concepts of Newton development, and the demo NTK provides an excellent environment to play around in without spending $800 bucks for the NTK. To be honest though, I did not like the way the sample program, WaiterHelper, was presented in this book. After reading a chapter in the book, I found it more helpful to tinker around with my own programs rather than type in 3-4 pages of source code. Personally, I would have liked to see the WaiterHelper example structured as a "challenge" type of tasks, with the author's solutions for various stages of development in the back of the book. But then again that is just how I work. :)
Anyway, for $30 bucks, you can't go wrong.
A definite must buy for the budding Newton developer, and even the Newton power user. (understand what is going on under the hood for a change :) )
David Black.
Subj: Re:Programming The Newton...
Date: 94-06-05 22:03:28 EST
From: Meitnik
Posted on: America Online
<<I did not like the way the sample program, WaiterHelper, was presented in this book. After reading a chapter in the book>>
Agreed. Bad flow of screen shots, code steps and lots of missing code tips.
Subj: At less than thirty bux...
Date: 94-06-07 22:53:30 EST
From: J and T
Posted on: America Online
...I am willing to accept something less than perfect, particularly when the only alternative is close to a grand. Now that I've got the book and the developer CD, I'm waiting on the RAM upgrade for our '030 computer so that I can actually use the whole shebang..
T (of J and T)
Subj: Re:At less than thirty bux...
Date: 94-06-10 23:07:49 EST
From: Jimi 123
Posted on: America Online
i have the book. how do i get the CD?
I'm having trouble using linked subviews. I want to create a 'main menu' template with buttons that allow you to navigate to other layouts.
kind of like buttons in filemaker pro.
any help from anyone out there greatly appreciated.
-jimmy
Subj: NTK guru needed
Date: 94-06-10 23:09:29 EST
From: Jimi 123
Posted on: America Online
I'm a new ntk user (demo version).
I have some questions that i'd love to run by someone.
any help greatly appreciated.
ps it's kind of a cool application
-jimmy
Subj: AOL Newton Developers?
Date: 94-06-10 23:10:39 EST
From: Jimi 123
Posted on: America Online
help!
anyone out there that knows how to get this ntk humming along?
i could really use a hand.
-jimmy
Subj: Re:AOL Newton Developers?
Date: 94-06-11 09:24:29 EST
From: Meitnik
Posted on: America Online
me too!
Subj: Not at Camelot Records...
Date: 94-06-12 21:16:29 EST
From: J and T
Posted on: America Online
The Developer's CD was obtained through an online offer here on AOL (where else!!!), where your charming, handsome and wealthy PDA staff offered to send it to those of us who forwarded a mailing label.
T (of J and T, who is lying on the bed naked with J after braving the heat all day down here at WDW, and whose kids are still out doing God knows what...)
Subj: Re:AOL Newton Developers?
Date: 94-06-12 22:57:58 EST
From: DPOMPEA
Posted on: America Online
Sure, there are lots of us here (but more on CI$) Just ask away.
-dave
Subj: Re:NTK guru needed
Date: 94-06-14 00:31:31 EST
From: Dr Newton
Posted on: America Online
Post your questions and they will get looked at.
DN
Subj: A few questions
Date: 94-06-17 07:55:41 EST
From: SteveM451
Posted on: America Online
Hi,
I've been using my Newton for a few months now and I have a few questions I' d like to throw out to you all.
1) I'm considering purchasing the Newton toolkit. My experience with programming is limited to HyperCard scripting. With my background, is it resonable for me to expect that I will be able to create Newton applications by just reading the documentation that comes with the toolkit or will I have to learn a launguage like C++, or C first? I received an APDA catalogue today that implied that I need to take several Developer University courses prior to attempting Newton development. As the kit currently costs 795.00 I'd like to be fairly certain that I can make something useful with it before I make the purchase.
2) It is my understanding that Newton Bookmaker is bundled with the Newton toolkit. Does anyone know if this software will eventually be sold separately?
3) The connection kit allows transfer of several Macintosh file types. Does anyone know if it is possible to exchange information between FileMaker Pro and the Newton?
thanks
Steve Messimer
Subj: Re:A few questions
Date: 94-06-17 08:08:45 EST
From: Gtelabs
Posted on: America Online
> 1) NKT: what kind of prog bakground needed? HyperCard OK?
You will find NewtonScript to be more like AppleScript than HC. The UI model (View System) is more like SuperCard or FrontMost/FaceSpan (comes with AppleScript) then HC. With that in mind, I'd say that for simple apps you'd be able to pick it up quikly. You may want to get the book "Programming for the Newton, software development with NewtonScript" by McKeehan & Rhodes. It comes with a "demo" NTK that you can try out programming with. $29
>2) bookmaker ever offered seperately?
Maybe.
>3) NCK allow transfer to FileMaker Pro?
The NCK will import/export tab or comma delimited files, so you can use that to get data in and out of FM Pro
Subj: Re:A few questions
Date: 94-06-17 09:07:53 EST
From: Meitnik
Posted on: America Online
Steve Messimer,
I too was weaned on Hypetalk. Yes, it a good foundation for Newtonscript, but I had also learned 'C' (and some C ++) too, which really filled some key holes of my foundation. Together, I was able to understand Newtonscript fairly well from the Julie book.
As for NTK, yes its highly overpriced. I suspect a NTK lite might be in the works for us, for around 250.00 or up to 500.00 (depending how greedy (ah, needy) apple feels that day). As for product ideas, think about small tasks which could be improved by using a Newton. Look at the shareware uploaded. Right now cost prevents me in investing in NTK. It would talk a very long time to pay back 800.00; whereas, HC has several times over. Besides, starcore wants their large slice of you too!
Subj: TVProduction Programs for Newton
Date: 94-06-17 10:45:25 EST
From: CherylF995
Posted on: America Online
I am about to take delivery on a Newton and am interested in programs that relate to video/TV production. Are there such programs, where do I find them. Also interested in PC programming.
Thanks from a Newton newcomer.
Subj: Re:TVProduction Programs for New
Date: 94-06-17 12:04:34 EST
From: HIDCON
Posted on: America Online
The Go Figure application is a group of calculators that includes a Video editing time calculator that looks useful. Send me an E-Mail if you want more information.
Subj: Re:A few questions
Date: 94-06-19 10:50:24 EST
From: SteveM451
Posted on: America Online
Gtelabs...
Thanks for your response. It helps alot.
Subj: Help!!!!!!!!!!!!!!!!!!!!!!!
Date: 94-06-26 18:31:52 EST
From: IggsNspace
Posted on: America Online
I picked up the McKeehan/Rhodes Programming for the Newton book about 2 weeks ago and I was doing fine with layouts and view etc until I hit the section on view justification.
Is it just me or does justification not work so great in the demo tool kit that came with the book? And has anyone else noticed several typoes in the book?
I could really use a good explanation of justification, or tell me that the demo ntk is full of bugs with respect to justification so I'll know I'm not a slow learner!
Scott
Subj: Re:Help!!!!!!!!!!!!!!!!!!!!!!!
Date: 94-06-26 20:41:44 EST
From: DavidBlack
Posted on: America Online
Scott,
I hav e been finding major bugs in view justification in the NTK over the last few days while working on an app. I finally had to resort to manually positioning and sizing the views using several viewSetupForm scripts.
Unfortunately this area of the NTK needs MAJOR work. At least Geos' geometry/view management works as advertised.
David Black.
Subj: Re:Help!!!!!!!!!!!!!!!!!!!!!!!
Date: 94-06-27 15:03:00 EST
From: LouKrieg
Posted on: America Online
FWIW, in the full release NTK from APDA, I have been using just about every mode of view justification without problems since last August. What I have found, is that the explanations in the manuals are fairly broad, leaving much as an "exercise for the student". In particular, you cannot believe what you see in the toolkit's preview, or even in the layout window in non-preview.
I generally lay out my views quickly on the screen, make sure that I have various attributes correct with a quick build,download cycle, then go back in and set the viewbounds and viewJustify slots through the browser. At that point DO NOT adjust the positions on the layout window, or you may "reset" the viewBounds to a different position justification than what you previously set in the browser.
So, as far as I have experienced, view justification works as intended, although not as well documented as I would like.
If you have specific issues, please ask and I will try to help!
Regards,
--Lou
Subj: Inspector Freezes
Date: 94-06-28 15:03:16 EST
From: KarynV
Posted on: America Online
For those of you who have made it through the WaiterHelper demo (in the McKeehan/Rhodes Newton book): I am stuck!
The error message is:
Exception |evt.ex.fr.type;type.ref.frame|: [-48401] Expected an array. Got: func()
Which is the function for categoryPicker.textChanged. I have been fooling around with the Inspector, and when I try to do a stackTrace within the breakloop, everything freezes completely. I set breakonthrows to true, open the app, get the breakloop, type
stackTrace() [enter]
and thats the end of everything. Just a flashing cursor and You can't quit from a breakloop you dummy messages.
I have triple-checked for typos, but am getting very frustrated. Any suggestions?
Thanks
Karyn
Subj: Re:Inspector Freezes (KARYNV)
Date: 94-06-29 08:13:42 EST
From: Gtelabs
Posted on: America Online
OK, Karyn... here goes!
The error is not in the code its displaying, but in the menu:CategoryToItems(entryLine.text)) function. This function should return an array (since that's what the labelCommands slot in the itemPicker wants) and it is not. Heaven Knows what it is returning, but I'd start looking there.
I'd do the following:
just before the first setValue() call, insert a breakloop();
within menu:CategoryToItems(entryLine.text)) put several, maybe one before each line. Then build and run WITH BREAK ON THROWS nil. The prog will stop at each of the breakloop() calls, and you can look around and see what things are set to. just exitbreakloop() in the inspector to resume the program. I'll bet that the menu frame of code has a typo in it (or an outright bug) you can also check your code against their supplied source code. Go ahead and try to debug this, it'll be a growth experience.
Why you can't do a stacktrace() is left for someone else to answer. My guess is that the menu code is whacking something so badly that it blows the stack.
Good luck, and let us know how you do!
- john schettino
Subj: Re:Inspector Freezes
Date: 94-06-29 12:56:11 EST
From: KarynV
Posted on: America Online
No, the function isn't being executed at all, so it never gets to menu:CategoryToItems(entryLine.text)). It seems to be treating the slot as returning the text of the function, instead of executing the function and returning the result.
Karyn
Subj: Re:Inspector Freezes
Date: 94-06-29 22:50:22 EST
From: Dr Newton
Posted on: America Online
I will pass this on to Neil and see what he says.
DN
Subj: viewJustification in NTK
Date: 94-06-29 22:51:45 EST
From: Dr Newton
Posted on: America Online
Just to clarify. As far as I know, NTK 1.0.1 has a few problems with some sibling justification modes. Otherwise it works fine.
DN
Subj: NEWTON PROBLEMS
Date: 94-06-29 23:10:42 EST
From: GoyaF
Posted on: America Online
Am gathering infor about how good the Newton actually is. Is there a market? Is it too soon? Does the software live up to its hype? Etc., please message me, thanks
Subj: Re:TVProduction Programs for New
Date: 94-06-30 08:57:45 EST
From: KarensRick
Posted on: America Online
I too am looking for a production interval timer suitable for use in directing TV shows. I talked to ExtraLead which has a program called TimeToGo. I doesn't sound like what I need, but they are more than willing to take inputs for new applications.
Subj: Executor/NTK/PC
Date: 94-07-08 08:01:54 EST
From: S R Swart
Posted on: America Online
I have the book programming for the newton that includes the demo NTK. Unfortunatly, I don't have a mac to use it. I was wondering what are the system requirements for the mac (ie. Can it run under system 6, What are the speed requirements, General model requirements)
The reason I ask is this. I downloaded the demo of Executor the mac emulation software and installed the NTK into it. I didn't have high hopes and I wasn't all to surprised when it just got stuck; first accessing the hard disk... pause... access... pause..and so on.
Further, since seems doubtful that the executor will be the answer for NTK on the pc. Has there been any news about the Windows NTK. Also, has anyone heard if a demo version al la Programming for the Newton will be available when it is finished.
regards,
shawn r swart
Subj: Re:Executor/NTK/PC
Date: 94-07-08 09:35:47 EST
From: PDC Phil
Posted on: America Online
Well,
I keep hearing that one's in the works(WNTK) but nobody's talkin'
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Re:Executor/NTK/PC
Date: 94-07-08 20:24:05 EST
From: Fraser3737
Posted on: America Online
The demo included with the book, like the real NTK, requires a 68030 or better. It is also suggested that 4 Mb of RAM be available as a minimum and System 7.x must be used. It would seem that these three facts are all stacked against you with the emulation. Apple has been steadfast in not revealing a specific time frame for NTK/Windows. I'm not at all sure what you mean by "al la programming." If you are referring to programming samples, they are included with the NTK and there are a number of files in the libraries that include the program files (although they require NTK to be examined).
Dennis
NewtonBook Coordinator
PDA Forum AOL
Subj: Re:Executor/NTK/PC
Date: 94-07-09 10:14:41 EST
From: S R Swart
Posted on: America Online
Thanks for the reply.
with "ah la programming for the newton..." I was wondering if a demo version of the Windows NTK would be available with the same limitations as the Mac version.
Regards,
SR Swart
Subj: Re:Executor/NTK/PC
Date: 94-07-09 10:47:01 EST
From: Fraser3737
Posted on: America Online
Perhaps, but not at the moment. There are a few of those "900" numbers that offer psychic predictions - probably your best source for Windows NTK information!
Dennis
Subj: Searching for frames
Date: 94-07-21 11:25:56 EST
From: Ive
Posted on: America Online
Is there any way to check if certain frames exist in arrays. Currently, SetContains returns NIL in the following example..
the { } frame syntax evaluates to a new frame. you could either save a pointer to the frame you want to search for (by reference).
e.g., a := {slot1: etc.}
testarray := [a]
SetContains(testarray,a)
OR
use the ArrayPos function and specify a function that does a recursive equality check so that you can compare by value (frames could be created in different places but have the same slots & values; you'd have to decide whether you wanted to require slots to be in same order)
Steve
Subj: NTK and Mac II?
Date: 94-07-23 17:49:17 EST
From: I395 m24va
Posted on: America Online
Can the NTK can be used with a Mac II? I know I am odd to have the antique Mac II and a MP110, but that is how it is! I understand that the disks are in HD format. I usually take such disks to a friends and install on his computer and bring back to mine. On my Mac, I do have a PMMU. Is there any reason why NTK wont run on my vintage machine?
Subj: Re:NTK and Mac II?
Date: 94-07-23 23:24:51 EST
From: PDC Phil
Posted on: America Online
Well,
It has to be in 32-bit, Virt mem is a plus and Sys 7 or above 030 processor...I don't know what yours is but I think it won't work.
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Re:NTK and Mac II?
Date: 94-07-24 09:50:29 EST
From: PDC Dennis
Posted on: America Online
The Mac II (vanilla) is not compatible with NTK. Before you run out and snag a new Mac, consider adding a DayStar board which will offer the processor and cache needed.
PDC Dennis
Subj: Fonts
Date: 94-07-25 02:17:57 EST
From: DarkCoyote
Posted on: America Online
Does the Newton (and NTK) support programmer-defined fonts? I'm interested in writing an application which would require foreign language fonts, and I'm willing to define these fonts myself.
Ron
Subj: Re:Fonts
Date: 94-07-25 09:33:43 EST
From: PDC Phil
Posted on: America Online
Hmm,
I *think* it can but, it won't allign right, anyone know for sure?
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Re:Fonts
Date: 94-07-25 19:58:59 EST
From: PDC Dennis
Posted on: America Online
Phil is essentially correct. NTK 1.01 will handle other fonts, but those fonts aren't specified or available as of yet. I suspect someone will come along before too long with a font set as an alternative to the limited set now available. As to foreign language fonts, perhaps those used in the overseas models now available might be of use. Good question for the PIE Group at Apple. Will ask and report back.
PDC Dennis
Dennis Fraser
AOL PDA Forum
Subj: Electric PIE Developers 2.45
Date: 94-07-31 16:47:02 EST
From: CDS SEM
Posted on: America Online
Electric PIE Developers 2.45 (the August issue) has been submitted to all the usual electronic repositories: the ftp site at newton.uiowa.edu, Creative Digital's new ftp site at ftp.netcom.com in the directory pub/cds, AppleLink (in Creative Digital's folder in Newton:Hardware and Software and in Newton:PIE Developer Talk:Newton Developer Talk), eWorld (GO NEWTON, look in the Software Exchange:New Files & Uploads), CompuServe (in the Newton Developer's Forum, Forum Business Library [1]) and American Online (Computing and Software:Personal Digital Assistants:Newt Files & Free Uploading). It may take a few days for it to appear in all the appropriate places.
Two versions have been posted - a Stuffed text version (EPD245.TXT.sit) and a Stuffed Common Ground version (EPD245.DP.sit). The versions submitted to FTP sites are also Binhexed. Contact No Hands Software (415.802.5800 or nohands@applelink.apple.com) for the location of the nearest Common Ground viewer if you don't have it. Within the next several days a Newton book version should be available as well.
Electric PIE Developers 2.45 has about 12 pages of PDA developer-related news, a writeup on the Wireless Datacomm conference that took place in San Jose a few weeks ago and Paul Pott's MacHack '94 epic. All in all, 20 pages of high density information for PDA developers. We hope you like it. If not, let us know why.
PIE Developers is a bimonthly technical journal for PDA developers. Electric PIE Developers (EPD) is an electronic version of PIE Developers magazine that is distributed in the months when no printed issue is mailed to subscribers. In the past we have made it available only to subscribers. To simplify matters, we've decided to make Electric PIE Developers available to the general public. There is no overlap between the printed and electric versions of the magazine.
Subj: Endpoints
Date: 94-08-09 11:00:57 EST
From: Ive
Posted on: America Online
I want an InputScript in an endpoint to set the value of another iew. However, since the enpoint is created at runtime, it isn't be declared, how do I do this?
Subj: Re:MS-DOS development
Date: 94-08-15 19:38:16 EST
From: Mi22327892
Posted on: America Online
Is there a development environment for the MS-DOS world? I have been captured by my Newton and would like to develop applications for it, but doubt I would by a MAC for that reason. Am I stuck? Do I have to own two computers? I have to keep my MS-DOS(Windows) system!
Subj: Re:MS-DOS development
Date: 94-08-15 20:29:42 EST
From: PDC Phil
Posted on: America Online
Well,
Apple said it's working on a Newton ToolKit for Windows....as far as a release date, we really don't know. I was going to wait, but I got a cheap Mac a ToolKit and I can honestly say I really do enjoy my Mac applications better than most PC based applications, not all but most.
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
NANUG meeting 8/16-7-10pm EDT be there! PDA Chat room!
Subj: Re:MS-DOS development
Date: 94-08-16 06:55:03 EST
From: Gtelabs
Posted on: America Online
There are two newton-based development options as well.
NewtDev 2.2 is a shareware ($40?) newtonscript development environment that runs on the newton. I think its in the archives.
NS BASIC is a commercial ($99) BASIC interpreter that runs on the newton, but lets you hook up your PC running a comm program to edit your programs. Contact gh@hookup.net for more information.
Subj: Re:MS-DOS development
Date: 94-08-18 07:05:47 EST
From: SteveWeyer
Posted on: America Online
yes, Newt 2.2 should be here in the archives. currently, it's $30 (in US). I'm hoping to release a newer version in a few weeks or so. in addition to writing/tapping code directly on the Newton, you can edit code as text chunks on your PC and transfer it to the Notepad via the Slurpee utility, or via Connection Kit, or via a keyboard utility like Figgles. since it uses NewtonScript, you'll be further along the learning curve should you decide to move to NTK (should it ever appear on Windows or you buy a Mac). for a little more info about developing apps with Newt, take a look at an article I wrote in July PIE Developers; or at the Newton book "NewtATut" a Newt Application Tutorial.
Subj: Re:MS-DOS development
Date: 94-08-18 09:21:16 EST
From: PDC Phil
Posted on: America Online
Thanks Steve,
We look foward to it!
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: ViewFrame Editor 1.0 - Free!
Date: 94-08-24 12:28:38 EST
From: CDS SEM
Posted on: America Online
The ViewFrame Editor version 1.0 is now available in PDA Files and Free Uploading. It is a free upgrade for existing ViewFrame owners. It also works with the current demo version of ViewFrame.
For those of you unfamiliar with ViewFrame, it is the definitive Newton debugger. Besides having a great feature set, it runs on the Newton, leaving your serial port free. Check out the demo version that should be available in the locations listed below.
The major difference between the new editor and the previous V 0.5 distribution is that it supports soup storage of the source code for multiple programs. The following (routing) actions are also included for Editor programs: printing, faxing, beaming, mailing and Inspector dumping. There is also now support for non-ASCII characters in strings and character constants.
Subj: Newt Development Environment
Date: 94-09-07 07:51:12 EST
From: SteveWeyer
Posted on: America Online
A new version of the Newt development environment has been released recently. Here is a little background information.
Newt 2.3
a native development environment for simple applications using NewtonScript (and for creating turtle-like graphics using gestures, buttons, and NS).
[newt-devenv-23.sit]
Keywords: object-oriented programming, application development environment, NewtonScript, NTK.
Newt is shareware ($35) -- registered users receive a 46 page manual describing Newt features and NewtonScript syntax and functions, along with a floppy of source examples and other packages. See NewtNews.txt for further info.
See also:
- RUNewt -- an application for running, beaming and mailing applications created by Newt 2.3. [runewt-23.sit]
- NewtATut (Newt Application Tutorial) -- a Newton book version of an article entitled "Building Native Newton Applications with Newt" that appeared in PIE
Developers, Vol. 2.4, July 1994; pp.14-18. This interactive tutorial shows how you can develop a simple application in NewtonScript directly on your
Newton using Newt. [newtatut-book-11.sit]
- NewtTurt (Newt Turtle Tutorial) -- a book showing you how you can also use Newt for turtle-style graphics. [newtturt-book-11.sit]
- Slurpee -- a utility for transferring data or text between desktop files and Newton soups. useful for transferring source text between Mac/PC and Notepad. [slurpee-11.sit]
AOL: SteveWeyer
Subj: Re:Newt Development Environment
Date: 94-09-11 12:15:17 EST
From: GOODLIFE
Posted on: America Online
Would Newt 2.3 be helpful if I already have the demo NKT via Programming for the Newton. I too have run into problems, previously noted here, with viewJustification (can't get screens pages 81, 102 of Rhodes' book). Is it the book, my Demo NKT or me?
Subj: Re:Newt Development Environment
Date: 94-09-11 12:39:42 EST
From: PDC Phil
Posted on: America Online
Hmm,
I've had very good things come out of the Demo NTK....Run Newt and NS Basic are alternatives, BUT you should still try to work on the NTK.....what were the problems again? Perhaps a nice devloper can help ya!
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Re:Newt Development Environment
Date: 94-09-12 07:08:58 EST
From: TomU216
Posted on: America Online
<<I too have run into problems, previously noted here, with viewJustification (can't get screens pages 81, 102 of Rhodes' book). Is it the book, my Demo NKT or me? >>
The NTK is not entirely WSYSIG. This is, I believe, an acknowledged problem that appeared in the full NTK 1.01 and apparantly also true in the McKeehan & Rhodes version.
The workaround is to ignore what you see and fly on instruments (ie., use the viewBounds and viewJustify windows information) and check your set up by downloading to Newton.
I realize this distracts from working through an example.
Regards,
Tom Unkefer
Nomadic Technologies
Subj: NTK for students/academic?
Date: 94-09-16 17:31:29 EST
From: GOODLIFE
Posted on: America Online
People have mentioned a NTK at $99 for students. My university (which supplies a ton of Apple products with an academic price break) is not aware of this package from Apple. They are very interested in making the kit available to more students to encourage development - is there a product/package # available for ordering purposes? Please respond by e-mail if possible.
Subj: Programming Help
Date: 94-09-16 21:57:17 EST
From: GOODLIFE
Posted on: America Online
Programming with NTK demo via Rhodes' book. After downloading, and tapping program, I receive error message -48807. Can anyone help? e-mail in addition to board response would help. Thanks.
Subj: Re:NTK for students/academic?
Date: 94-09-17 03:44:20 EST
From: ScoobyX
Posted on: America Online
>People have mentioned a NTK at $99 for students. My university >(which supplies a ton of Apple products with an academic price >break) is not aware of this package from Apple. They are very >interested in making the kit available to more students to encourage >development - is there a product/package # available for ordering >purposes? Please respond by e-mail if possible.
My school had a flier for this at the bookstore and it was only available with the purchase of a Newton I believe. Along with some other deals. I haven't checked the student price for a package without buying a Newton, I don't even know if they have the kit. The flier got the NTK driectly from apple I believe until October or November.
Stephen @ UGA
Subj: Re:NTK for students/academic?
Date: 94-09-18 16:56:18 EST
From: BlueMoo406
Posted on: America Online
I bought NTK from Computertown for $89. So I don't think that the $99 price tag for students is a bargain.
Subj: Re:NTK for students/academic?
Date: 94-09-18 18:24:29 EST
From: PDC Phil
Posted on: America Online
Huh?
NTK? Are you sure....you must HAVE gotten a NCK, Newton Connection kit right? The ToolKit lets make apps for the Newton the connection does not, backups, syncs, and installs packages.
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: NTK--NCK--0ooops!
Date: 94-09-18 20:15:27 EST
From: BlueMoo406
Posted on: America Online
Sorry about that. You're right. Is my face red? But like my Newton, I can't read well so the letters look alike to me.
By the way, I'll take the NTK for $99.
Subj: Re:NTK--NCK--0ooops!
Date: 94-09-18 22:34:42 EST
From: PDC Phil
Posted on: America Online
Oh,
I wish you were right I'd buy 10 of them ;-)
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Dumb Questions
Date: 94-09-25 17:34:39 EST
From: Glyde
Posted on: America Online
hi gang.
First time visitor to this area, gratifying to see so much activity...so much in fact, that I can't seem to find what I need to know, (ohh for searchable threads ::sigh::) so please forgive these dumb questions:
1. What is the 110 screen size in pixels?
2. Is there a "Human Interface Guidelines" equivalent for Newton?
thanks in advance--
Eric Johnson
Silver Spruce Systems
Subj: Re:Dumb Questions
Date: 94-09-25 18:48:37 EST
From: PDC Phil
Posted on: America Online
No! There aren't ANY dumb questions! Just the unasked ones!
1. What is the 110 screen size in pixels?
320x240 - Like 640x480 the industry standard
2. Is there a "Human Interface Guidelines" equivalent for Newton?
Well there are things like that included on the developer CD's but, I think the Newton is a very flexible OS and the best apps seem to be the ones that do things a but differently than the rest. Basically most Status Bar buttons stay on the status bar, most dialogs are in the center, more click/taps than writing etc...... A book to check is the Newton Programmer's guide that come with the NTK or the Newton Programming book by McKeehan and Rhodes.
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Soup/Slot reference HELP!!!!
Date: 94-10-03 11:44:18 EST
From: ACSMERCURY
Posted on: America Online
HELP!!!! I am a new Newton Developer, and while much of the information in the books is very helpful, (and I just this minute ordered the additional tutorial book) I am having troubles.
---Creating a soup on the storage card has not been a problem, nor has been creating a flow of views using the toolkits graphical editor.
---Getting the slot data to save though been quite a burden. I.E. a view called CUSTOMER with fields(slots) such as num,name,contact,phone,etc. has a variety of difficulty savings to the soup. The indexes for the soup are set up as num:'int, name:'string, and contact:'string, but every time I try to (Add With) to the soup, I get "Index type not the same as key" or something to that effect. Am I perhaps syntactically incorrect, or did I not declare one of those three slots to be either integer or string?
---If I did not declare a slot properly, how should I do it? (I think I did though, since I selected Numbers allowed for num, and Name for name and contact).
---Perhaps I am referring to the fields incorrectly, since I am calling the save routine from a childview (floatngo) save confirmation routine from a textbutton on the customer view.
---How the heck does one properly declare a frame/path expression (globally if possible) which refers to slots that exist within a view?
Any help would be greatly appreciated.
Any offers of co-application assistance will be met with by compensation for efforts, since my company is working on a project which should allow me to retire in about a year.
John Trapani
Mercury Consulting
Please try to email me, since I will no doubt forget where I sent this message. Thanks!
Subj: Re:Soup/Slot reference HELP!!!!
Date: 94-10-03 20:09:47 EST
From: DPOMPEA
Posted on: America Online
Well, First of all, I never use Add With ... I always use just an soup:ADD(frame). Try that.
Any slot declared at the top level - it shows in the right side when you click you protoApp slot on the left, is accessable to all. Just use it's name. The same with child views and slots in them. Calling methods (ok, they call it sending a message to a view). is a little different. To call another method in the protoapp, like if you wanted to directly call the viewSetupFormScript, use :viewsetupformscript(). the ":" is most important.
Also declare your views: CMD-I on the view. Then, if you need a method in a different branch of the view tree it's SomeOtherViewDeclaredName:TheMethodinTheView(anyparameters);
Remember, it's all like a tree. If something is on a branch upwards, just use it's name. If it's on a branch of a branch, use the branch name (s) to get to it.
Hope this helps,
Dave
Subj: Novice Programming Alternative
Date: 94-10-04 08:10:49 EST
From: Ravajr
Posted on: America Online
Hey, have you tried NSBASIC for the Newton yet?
Most people can program in Basic, and NSBASIC is an excellent rendition.
You'd be surprised at just how sophisticated an application you can develop. Just check out my award winning program DIVE-PDA.
Any questions about NSBASIC can be sent to me (RAVAJR) or to the people who make NSBASIC (NSBASIC).
8)Richard
Subj: flip/slip ... Help!
Date: 94-10-10 22:28:25 EST
From: JohnZ40295
Posted on: America Online
On Page 42 of the Book: Programming the Newton the book asks for me to Draw a clPictureView on the right side of the detail view. Make it extend all the way from top to bottom. Name it "Lines".
Well I got that to work but after that it asks you to edit the Icon slot of the lines template. It asks to select notelines from the Filepopup menu.
only problem is it does not show any files and forces me into the block where files should be. I have placed the slip files (whatever) from the Demo Package into the directory where the WaiterHelper Files reside; but still have no luck. Can any one help me, it may be something I overlooked, I am a IBMer with a Mac on Loan from a friend, any suggestions would be helpful.
Thanks ahead of time.
John Zielke
Subj: Programs to Packages
Date: 94-10-11 16:43:21 EST
From: MOONSTERS
Posted on: America Online
I,ve got a program on my mac that implys that it would run on a newton (since it's a calling device it would make more sense that way) but the MCK install package won't see it What do I do to get it on my Newton
Thanks
Subj: Re:Programs to Packages
Date: 94-10-11 20:21:58 EST
From: PDC Phil
Posted on: America Online
Pardon?
I'm not sure whatyou mea, what is the package...if it *is* a package then you may need to change the type and creator in ResEdit ie: Type to pkg (space) and the creator to pkgX that should make MCK recognize it.
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Re:Programs to Packages
Date: 94-10-13 06:23:49 EST
From: TomU216
Posted on: America Online
<<<I,ve got a program on my mac that implys that it would run on a newton (since it's a calling device it would make more sense that way) but the MCK install package won't see it What do I do to get it on my Newton>>>
Is it possible the file on your Mac is a package file from AppleLink ? AppleLink is the comm software you use to talk to Apple's older BBS (not to be confused with eWorld). ALink has its own compression standard and compressed files are called "packages".
If that's what you have, you need the AppleLink software to decompress.
Regards,
Tom Unkefer
Nomadic Technologies
Subj: Compilers-R-Us?
Date: 94-10-22 23:11:07 EST
From: ERIK UZE
Posted on: America Online
Hey, Does anyone know where you can get a compiler for the Newton. I don't have a Newton, but I was considering buying one. If I can't program on it, however, it is useless to me. I'd really appreciate some respones. I have no Idea where to turn.
Thanks a ton!
ERIK UZE
Subj: Re:Compilers-R-Us?
Date: 94-10-23 09:17:06 EST
From: PDC Phil
Posted on: America Online
Hmm,
No-the Newton has it's own when you get the Newton ToolKit-it's pretty neat. You can get a ToolKit from APDA or look in the swap shop(s)
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Re:Compilers-R-Us?
Date: 94-10-23 13:57:03 EST
From: SteveWeyer
Posted on: America Online
take a look at my native Newton development environment (newt-devenv-24.sit) that uses the built-in NewtonScript compiler for building and running applications. in addition to all of the interface objects, you can also access a variety of other services including serial communication, printing, and IR.
steve
Subj: Re:Compilers-R-Us?
Date: 94-10-27 09:11:56 EST
From: CreamNEggs
Posted on: America Online
Erik:
You can get a book on Newton programming by Rhodes & McKeehan called (I think): Newton Programming. It includes a copy of the development system called Newton Toolkit (usually abbreviated NTK). You'll need a 68030 Mac with 8MB of RAM or better to run it.
HTH,
Bill
Subj: Q: newton programming
Date: 94-11-02 00:52:27 EST
From: Fogno
Posted on: America Online
I wish to know how one goes about programming for the Newton.
Is it C, is it perl? what is it and where do i start? i need a new project.
-t
Subj: Re:Q: newton programming
Date: 94-11-02 09:15:53 EST
From: CreamNEggs
Posted on: America Online
Newton programming is done in NewtonScript. There's a nifty book out by Rhodes/McKeehan (sp?) titled something like Programming The Newton, that includes a copy of the Newton Toolkit you'll need to do any serious work. You'll need a reasonably powerful Mac to use the NTK however. (68030, 8MB RAM)
There are also some shareware items available here.
HTH,
Bill
Subj: Re:Q: newton programming
Date: 94-11-02 09:43:36 EST
From: Ravajr
Posted on: America Online
Also check out NSBASIC. It does all the work right on the Newton. If you hook up a Mac/PC to the Newton and use a terminal program, you can type fast. But understand that the Mac/PC become simply a dumb terminal, it is the Newton that is doing all the work.
Best of all, you can develop and get instant feedback all on the Newton. The version of Basic used is actually very powerful, with full access to all information contained in the Newton plus the serial port. So you could, in a half hour or so, write a translator to transfer info to and from the Newton and a Mac/PC, and have full control over what information is used, and in what form and sequence.
8)Richard
Subj: Re:Q: newton programming
Date: 94-11-03 17:20:02 EST
From: SteveWeyer
Posted on: America Online
If you'd like to experiment with building apps in NewtonScript right on your Newton (without requiring a Mac for NTK or the McKeehan/Rhodes book), take a look at newt-devenv24.sit (aka "Newt 2.4") -- a shareware native development environment for the Newton. also take a look at newtatut-11 which is a tutorial on building apps with Newt.
Steve
(Newt author)
Subj: protoLabelInputLine problems...
Date: 94-11-04 21:42:36 EST
From: Deangrimm
Posted on: America Online
I am having a problem with protoLabelInputLine. I have set entryFlags such that the field is a date field. My problem is that whenever I try to clear the text field of entryLine (whether programatically or by scrubbing) I get the following error message:
[-48404] Expected a number. Got NIL.
I realize that I'm passing a NULL string to SetValue, but how else am I supposed to clear the input line? Any advice would be appreciated.
Subj: Silly Question #13...
Date: 94-11-09 00:32:49 EST
From: UrsaBear
Posted on: America Online
I've the pleasure of working with our corporate copy of the NTK.
My silly question of the month is...
I've installed the software directly as requested (v 1.0b7) on my Quadra and get nowhere. At launch, I always get the message "Couldn't start the application because File Not Found".
Anyone run across this? Very frustrating.
UrsaBear
Subj: Re:Silly Question #13...
Date: 94-11-09 07:22:47 EST
From: PDC Phil
Posted on: America Online
Hmm,
That's odd-can you re-install? Are you launching it from your HD or from the Network?
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Attention Newton Developers!
Date: 94-11-09 22:55:39 EST
From: CraigCOOK
Posted on: America Online
You guys and gals are developing a lot of creative vertical applications. Is there any interest in compiling a list of all newton apps including vertical apps. Free advertising and great opportunity to promote the newton platform.
E-mail me if interested
Developers unite ;-)
Subj: Re:Silly Question #13...
Date: 94-11-10 01:09:20 EST
From: UrsaBear
Posted on: America Online
Actually, I did re-install :-( Twice.
I'm launching it from a local hard drive.
Thank you for responding. Maybe system 7.5 is a culprit?
jimp
Subj: Re:Silly Question #13...
Date: 94-11-10 09:53:07 EST
From: PDC Phil
Posted on: America Online
Hmm,
I have sys 7.5 no problems here-did you everconsult SOS?
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Re:Silly Question #13...
Date: 94-11-10 21:19:00 EST
From: HardyMacia
Posted on: America Online
You probably need the Apple Modem Tool and that other file that no one seemed to get with the some of the beta versions of the Toolkit.
You should look into getting the full copy of the Toolkit. If you were receiving the betas then you should have 1.01.
hardy
Subj: TO UrsaBear
Date: 94-11-11 00:16:59 EST
From: Dr Newton
Posted on: America Online
You should get a full copy of NTK 1.0.1 and install that. There are plenty of enhancements and bug fixes that make it worth while.
I found the problem through the platform documentation. The MessagePad file must be in a folder named "Platforms" which must be located at the root of the NTK application folder. Simple, simple, simple.
Thanks to all for their help. I am most appreciative.
jimp
Subj: NTK for sale
Date: 94-11-11 17:33:06 EST
From: Deangrimm
Posted on: America Online
I am selling my NTK for $650. Send e-mail to Deangrimm if you are interested.
Subj: NTK Demo Out There?
Date: 94-11-21 08:41:54 EST
From: WayneD777
Posted on: America Online
I've heard that there is a Demo version of the NTK that I can try befoer I decide to shell out my $795 bucks... Any clues as to where to find it?
Email me please!
-Wayne
Subj: Re:NTK Demo Out There?
Date: 94-11-21 09:44:41 EST
From: PDC Phil
Posted on: America Online
Well,
You can order at any book store :-)
Phillip M Torrone(PDC Phil)
PDA Forum Consultant
Keyword PDA is how to find us!
Subj: Re:NTK Demo Out There?
Date: 94-11-22 14:40:43 EST
From: GreyERWrit
Posted on: America Online
A deo version comes with the book, "Programming for the Newton", by McKeehan and Rhodes, published by AP Professional
Greg
Subj: Re:flip/slip ... Help!
Date: 94-11-24 02:14:42 EST
From: JeffPearso
Posted on: America Online
John-
I ran into the same thing. You need to add the pict files to your project.
Subj: Soup Slurp
Date: 94-11-25 19:33:39 EST
From: TrbMacGuru
Posted on: America Online
I'm trying to build an array of values from a given slot in a soup query. I can do it through a loop, but I thought that's what the MapCursor function does. Does it, or is there another method for doing this?
Subj: Re:Soup Slurp
Date: 94-11-26 05:00:01 EST
From: SteveWeyer
Posted on: America Online
MapCursor returns the result of a function that you can supply. so to return an array of slot values rather than the entries themselves:
mapcursor(mycursor, func(e) e.myslot)
steve
Subj: Re:Soup Slurp
Date: 94-11-27 21:40:31 EST
From: DPOMPEA
Posted on: America Online
Also remember to not change a soup entry with the function you supply to MapCursor as an EntryChanged() also does a GoTo() so you might bypass entries.
-Dave
Subj: Another @#$!@
Date: 94-11-30 16:29:11 EST
From: TrbMacGuru
Posted on: America Online
Thanks for help on MapCursor Steve & Dan. Let me pose another problem. I'm trying to get the 'text slot of a LabelInputLine, but whenever I do, the Newt returns the intial value of said slot instead of the current value. Surely this must be a bug.
Subj: Re:Another @#$!@
Date: 94-12-01 19:51:50 EST
From: DPOMPEA
Posted on: America Online
What you need to get is: xxxx.entryLine.text. A labelInputline has 2 view children. One for the static text label and one for the input field.
- Dave
Subj: NTK Demo != PPC w/7.5 - HELP!!!
Date: 94-12-09 21:20:42 EST
From: SDEHankin
Posted on: America Online
Hi -
I'm running a 6100av w/40/250. Invoking the Newton Toolkit Demo that comes with "Programming for the Newton", I get one of those "you don't have enough memory - 4000k neede, zero K available" messages. "About This Macintosh" reports over 35 Meg free - what gives? Anyone else seen this? Who supports the NTK Demo?
- Scott
Subj: Re:NTK Demo != PPC w/7.5 - HELP!
Date: 94-12-09 21:46:02 EST
From: PDC Phil
Posted on: America Online
Hmm,
I have the same setup, perhaps go to the get info of the Demo NCK, and increase the RAM allocation to 10-15 Megs, see what happens, if not try re-installing....please let me know
Phillip M Torrone (PDC Phil)
PDA Forum Staff
Keyword PDA is how to find us!
Subj: Re:NTK Demo != PPC w/7.5 - HELP!
Date: 94-12-10 14:33:02 EST
From: SDEHankin
Posted on: America Online
Howdy -
The problem turned out to be an extension conflict. MacIdentify 1.1 was the culprit. All is working fine now. Thanks for the help.
- Scott
Subj: Re:NTK Demo != PPC w/7.5 - HELP!
Date: 94-12-10 15:02:54 EST
From: PDC Phil
Posted on: America Online
<<<
The problem turned out to be an extension conflict. MacIdentify 1.1 was the culprit. All is working fine now. Thanks for the help.
>>
Really? I have that, what was the prob? Maybe I should get rid of it too ;-)
Phillip M Torrone (PDC Phil)
PDA Forum Staff
Keyword PDA is how to find us!
Subj: What's available???
Date: 94-12-13 16:03:43 EST
From: KBracknell
Posted on: America Online
I will be a new user of the MP 100 soon and wanted to get some info about development tools. I'm sorry if my questions may sound naive, but I have been living out of the country since before the Newton was released.
What is NewtonScript? Is it built in and accessible to all users I know I can't afford NTK, is anything else worthwhile? I have heard of NS BASIC, can you develop full applications with it? How is Newt?
If there is an overview document of the basic options for Newton development in any of the libraries, could you point me to it?
Thanks,
Keith Bracknell
Subj: Re:What's available???
Date: 94-12-13 21:35:05 EST
From: PDC Phil
Posted on: America Online
What is NewtonScript?
It's object oriented script-very easy to use, the user gets to make a proto fairly quickly and then add the script addition later
Is it built in and accessible to all users I know I can't afford NTK, is anything else worthwhile?
Sorta, but you need tools to get to it......Like the NTK, NS Basic, RunNewt, and Newt
I have heard of NS BASIC, can you develop full applications with it?
Yes, you can-it very cool....I suggest you buy a copy and try it out...if you know basic it's a great way to start
How is Newt?
Another great app-I'll let Steve Weyer tell you about it, also there is a FAQ in the PDA Dev center that has all you seek
If there is an overview document of the basic options for Newton development in any of the libraries, could you point me to it?
Yes, you can get Newt/RunNewt in our libs with tutoral, NS Basic will tell you about his product and possibly send a brochure, and for $30 you can get a copy of the NTK from any bookstore, it's called "Programming for the Newton" by McKeehan and Rhodes
Phillip M Torrone (PDC Phil)
PDA Forum Staff
Keyword PDA is how to find us!
Subj: How Do I Start?
Date: 94-12-15 02:06:28 EST
From: RyderG
Posted on: America Online
I am a medical student in his third year who has access to a NTK at school and wants to develop a program for keeping track of patients on the wards.
Does anyone know what the best ways to get started are? I have no real programming experience, and I have the book Programming for the Newton, but still can't make sense of it on my own. Is there any basic reference that will teach me the basics of making arrays, frames, variables, ect. and how to save data within a program. The overall creation of views and protos I can handle, but how and where to use newtonscript to save data into arrays, store them, and then call or delete them baffles me.
Any Ideas? I would appreciate them,
Ryder Gwinn
Subj: Re:How Do I Start?
Date: 94-12-15 09:30:40 EST
From: PDC Phil
Posted on: America Online
Ryder,
You may want to post this in the NEWTON IN MEDICINE Folder, <<< Does anyone know what the best ways to get started are? I have no real programming experience, and I have the book Programming for the Newton, but still can't make sense of it on my own. Is there any basic reference that will teach me the basics of making arrays, frames, variables, ect. and how to save data within a program.>>
Umm, that's the best source to start-keep reading-it's well wrtitten and if an effort is made-you;ll get it, check the dev section here for some tips and text files, maybe even try other Dev environment, like NS Basic or Newt
Phillip M Torrone (PDC Phil)
PDA Forum Staff
Keyword PDA is how to find us!
Subj: #include <fname>
Date: 95-01-03 15:28:18 EST
From: BrownMC
Posted on: America Online
Anyone know how to include other text files into an NTK project data file??
Subj: Re:#include <fname>
Date: 95-01-03 16:44:00 EST
From: Gottlb
Posted on: America Online
<<Anyone know how to include other text files into an NTK project data file?? >>
Try Load(pathExpr)....it will process the text file just as if it was typed into the Project Data window [no, I don't know where this is documented, it was passed on to me by someone, and I don't know where he learned it. It works, tho.]
HTH,
Ben
Ben Gottlieb (gottlb)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: PC development for Newton
Date: 95-01-05 18:21:08 EST
From: DeepakSant
Posted on: America Online
I have a PC and would like to use it for developing Newton apps. I heard that Apple was working on a PC based development kit. Does anyone know if it is available and how much it costs?
Thanks,
Deepak Sant
Subj: Re:PC development for Newton
Date: 95-01-05 21:30:08 EST
From: Gottlb
Posted on: America Online
<<I have a PC and would like to use it for developing Newton apps. I heard that Apple was working on a PC based development kit. Does anyone know if it is available and how much it costs?>>
The Windows version of the Newton Toolkit is not yet avaiable...*maybe* sometime after summer...who knows? Apple is kinda tightlipped about their future plans :-(
Ben Gottlieb (gottlb)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:PC development for Newton
Date: 95-01-07 08:09:50 EST
From: SteveWeyer
Posted on: America Online
another option for PC-based development is to use NewtDevEnv (native Newton environment; newt-devenv-24 here on AOL) for developing applications in NewtonScript; you can use a text editor on your PC to edit source text, and use Slurpee and a terminal emulator to transfer it to the Notepad for Newt to compile (you'll also be able to print values and debug info to the terminal emulator). by learning NewtonScript, you'll be ready whenever the Windows NTK does appear...
steve
Subj: Random() Method
Date: 95-01-09 22:56:30 EST
From: ZZTong
Posted on: System
I'm trying to send a message to the Random() method, but I'm not having much luck. The only information I have is three lines in the back of the "Programming For The Newton" book.
Here's a somewhat watered down version of the function...
func()
begin
local y := 0;
for x:= 1 to 3 do
begin
y := y + Random( 1, 6 );
end
return y;
end
The function fails on the Random() call. (As far as I've been able to determine with my limited (1 hour) exerience with the Inspector. Exception -48809... Something about expecting an Array. (I didn't write the message down; forgive me.)
ZZTong
Subj: Re:Random() Method
Date: 95-01-10 01:22:04 EST
From: Gottlb
Posted on: System
<<I'm trying to send a message to the Random() method>>
Nope nope nope! What you wanna do is *call* the random *function*. Distinction: methods are part of frames, functions can be called *anywhere*. The code snippet you posted had the proper syntax:
y := y + Random( 1, 6 );
A *send* would look like this
y := y + someFrame:Random( 1, 6 );
Where someFrame is a frame with a slot named Random containg a function. Since Random() is a global function, no : is needed. 48809 is an undefined method error, so this was prolly yer problem.
Just out of curiosity, this looks suspicously like a D&D character generator...:-) If you want any help, don't hesitate to post or mail me!
HTH,
Ben
Ben Gottlieb (gottlb)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Random() Method
Date: 95-01-10 08:51:13 EST
From: Gtelabs
Posted on: System
looks ok to me! The NTK book says
random(low, high) where low and high are ints
have you tried typing random(1,6) into the inspector?
If you have a view slot named Random in your project, that will be called instead. If you want to be sure to call the random function, you can use
getglobals().functions.random(1,6)
Subj: Re:Random() Method
Date: 95-01-10 20:42:36 EST
From: ZZTong
Posted on: System
Thanks for correction in terminology. I'm too used to other OOP environments/terms and I'm, having a little trouble keeping the Newton terms straight. Random is a Global Function, right, got it.
I think most of it is I'm not used to the error messages yet. I seem to go through this everytime I start in with a new compiler.
I got the application running today. (I don't remember exactly what fixed that problem.) I'm still strongly attached to the book, but with 10 hours of learning and effort invested so far, I'm very pleased.
It's not an AD&D character generator. It's handles the to-hit rolls (in a variety of fashions) for any Hero System genre, such as Champions.
If you want to help, I'll tell you what I need most is a code review. Just because I got it working doesn't mean it sizes up as the best implementation. I need to review other peoples code as well.
Oh, Oh! One "mystery" event which occured during the day's coding was when the Newton refused to power off. (ie the Power switch didn't do anything.) At the time I had my demo application running, your ErrorMessage book open, and the Inspector was connected. At the same time, I received a message saying there was no "viewIdleScript". (I had to reset the Newton before I could power it off.)
Oh, and another question: How do you get borders like you can find in the Preferences application? You know, the ones that have titles like "Pen Alignment"?
ZZTong
Subj: Re:Random() Method
Date: 95-01-10 21:55:37 EST
From: Gottlb
Posted on: System
<<It's not an AD&D character generator. It's handles the to-hit rolls (in a variety of fashions) for any Hero System genre, such as Champions.
If you want to help, I'll tell you what I need most is a code review. Just because I got it working doesn't mean it sizes up as the best implementation. I need to review other peoples code as well.>>
Send me yer code and I'll take a look (I'm itching to do some game programming on the newt, but the money makers come first :-)
<<Oh, Oh! One "mystery" event which occured during the day's coding was when the Newton refused to power off. (ie the Power switch >>
Well, the newton will not power off if the inspector is connected...maybe that was your problem.
<<Oh, and another question: How do you get borders like you can find in the Preferences application? You know, the ones that have titles like "Pen Alignment"?>>
Two ways...1. Create a clView with roundness 4 and thinckness 2, fillPattern none and linePattern black, then set it just inside the border of the view you wanna outline. The other involves hacking into apples code for a tricky (but cool) function they call. I suggest (strongly) the first way, as it's not prone to break when apple shifts platforms :-)
Ben
Ben Gottlieb (gottlb)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Random() Method
Date: 95-01-11 20:32:20 EST
From: ZZTong
Posted on: System
>>>>Send me yer code and I'll take a look (I'm itching to do some game programming on the newt, but the money makers come first :-)<<<<
Ok, I'll send you a text listing of what I've got so far.
Do you program the Newton for a living, or are you refering to another platform?
ZZTong
Subj: Call for software development
Date: 95-01-13 11:59:35 EST
From: MervNewt
Posted on: System
Call for Software Development: similar to a technical "call for papers"
The following specifications should be viewed as a technical "wish list" to be used as a guideline to develop new software for the Apple Newton.
Not being a programmer myself, I have no idea what is possible and what is not. Keep this in mind.
A.
I am looking for software that emulates a diary. This would allow generation of a few lines of text to be added to an overall document. This is very close to the function of the Franklin Planner and similar paper-based data storage systems. The Newt does not have this capability.
This could also be considered a novel-builder. In this mode, the software allows a person to review what has already been written, and to make additions. Ultimately, the system should support about a 100 printed-page text. Text should be downloadable from the Newt to either a Mac or PC platform for further printing, galley manipulation, and font structuring.
B.
Someone must be able to produce a PC and/or Mac based application that will convert standard bit-mapped black & white graphics to graphics the Newt can display, even if it is Read-Only and cannot be converted or manipulated. I am reminded of the package "BillyDraw".
This would be a great boon to storing Company organization charts, maps, circuit diagrams, engineering prints, etc.
Of course, if the data could be manipulated and uploaded back to the desktop machine, so much the better. Then true "field as-built" prints could be generated to update the original print or diagram.
C.
If the two packages could be merged to allow the author to write as authors do (in bits and pieces), then make simple line diagram drawings (ala cartooning) this could be an interesting suite of software.
Anyhow, this is my current wish list. If anyone thinks its worth a shot, go for it. I can be contacted via eWorld at MervinM.
Subj: Newton Toolkit/Royalties
Date: 95-01-18 19:36:11 EST
From: ZZTong
Posted on: System
I just got my NTK. I was suprised to see a contract enclosed which says something on the order of "If I sell anything I created with the NTK, I must send Apple $0.50 in royalties for each copy sold.
I'm _not_ used to finding this sort of thing in a Development Kit. It was kind of a shock. After all, I payed them $800. I guess the price tag isn't that unreasonable ($0.50/copy) but I'm not looking forward to the bookkeeping. I guess I'd have (technically) been doing the work anyways for tax purposes, but geeesh.
ZZTong
Subj: Re:Newton Toolkit/Royalties
Date: 95-01-18 22:32:17 EST
From: HardyMacia
Posted on: System
It was dependant on the program. When I got my kit the royalty structure was 1% of anything over $10,000. (per program) so if I have 4 programs that make $9999 a piece then I don't have to pay royalties.
-- hardy
Subj: Demo application
Date: 95-01-29 13:52:10 EST
From: Brian Sp
Posted on: America Online
Hi. I've been lurking for a while, and now make my debut into posting....
I purchased the "Programming for the Newton" book about a month after it was released, and have been playing with it quite extensively. I have written a couple applications that are stable, but are still not to the point at which I would be comfortable releasing them.
I have found that learning NewtonScript is not TOO hard, granted the availability of examples that can be downloded.
I have one on my wish list. Has anyone seen, or mind uploading a sample that simply...
1. accepts input from user for two integers
2. adds them together and displays result
3. stores result in a soup so it will still be there the next time the app is run.
A simple app, yet a great example. Any leads would be greatly appreciated.
Thank you.
--Brian
Subj: Re:Demo application
Date: 95-02-09 01:39:29 EST
From: CherylYork
Posted on: America Online
Brian wrote:
"I have one on my wish list. Has anyone seen, or mind uploading a sample that simply...
1. accepts input from user for two integers
2. adds them together and displays result
3. stores result in a soup so it will still be there the next time the app is run."
Me too! If anyone has something like this, please email me a copy. Thanks!
Subj: Re:Demo application
Date: 95-02-10 13:56:29 EST
From: SteveWeyer
Posted on: America Online
the simple "myApp" (Hello World) example that comes with Newt (newt-devenv-25.sit/.zip) does the first two parts -- shows you how to enter two integers & display the result (also allows rounding of floats). the third part (storing results in a soup) is pretty easy -- and next time I'm on, I'll repost a version of Hello World with that.
Steve.
Subj: Re: Demo application
Date: 95-02-12 09:44:41 EST
From: SteveWeyer
Posted on: America Online
earlier, someone had requested:
"Has anyone seen, or mind uploading a sample that simply...
1. accepts input from user for two integers
2. adds them together and displays result
3. stores result in a soup so it will still be there the next time the app is run."
I put together a variation on one of my application examples that does these things in NewtonScript with the Newt Development Environment. I just posted it accidentally under the folder "Newton Developers" as " simple input fields & soup"; it's in two parts intro [1/2] & code [2/2].
Steve
Subj: Programming for the Newton
Date: 95-02-15 21:04:02 EST
From: Atkinson
Posted on: America Online
Because I don't have the big bucks to fork out for the NTK I have been considering going out an purchasing the book "Programming for the Newton", which I understand comes with full featured demo version of NTK minus Bookmaker. My question is this: is it possible to create Newton books without Bookmaker? Yes, I know about Paperback but I am looking for something to create more robust books with. I have heard rumors that Bookmaker may be released on its own but I haven't been able to get any confirmation of that. I think one of the Newton's big pluses is it ability to store information in book form and am looking to put together some on my own. I would appreciate any assistance anyone could provide.
Subj: Re:Programming for the Newton
Date: 95-02-15 21:21:29 EST
From: PDC Ben
Posted on: America Online
The BookMaker is *rumored* to become unbundled at some point in the future...when is anyone's guess, however :-( It is currently NOT possible to make books without the bookmaker, and I believe that the Demo does not come with the bookmaker. However, what you CAN do is go get the bookmaking guidelines (I'll see if I can get them posted here...they're on eWorld right now,) munge your source file, and send it to me or Phil and we'll make it into a book for you (as long as it's freely distributed.)
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Programming for the Newton
Date: 95-02-15 22:22:23 EST
From: CDHamma
Posted on: America Online
This sounds like a wonderful idea. I'm not interested in the bookmaker, but I would be interested in the book and NCK software.
I have only two questions:
Is is the connection software for the MAC or PC and
Where do you get it?
Thanks,
Cory
Subj: Re:Programming for the Newton
Date: 95-02-16 08:31:56 EST
From: PDC Ben
Posted on: America Online
Cory,
There's connection software for both the mac and Widows PC's. You can probably get it from wherever you got your newton, or a place like MacConnection or Newton Source (1-800-Newton-1)
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Programming for the Newton
Date: 95-02-16 13:00:47 EST
From: Ced5
Posted on: America Online
I have some ideas about applications for the newton. I haven't really ever written programs. How difficult is it to get going with this?
Subj: Re:Programming for the Newton
Date: 95-02-16 13:39:48 EST
From: Gtelabs
Posted on: America Online
<<I have some ideas about applications for the newton. I haven't really ever written programs. How difficult is it to get going with this?>>
It's hard. Not impossible, but hard. For a person with no programming experience, NewtonScript is going to be a very large hill to climb. This language has event-based programming (for the GUI) an object oriented class library (for the views and interface objects). C - like syntax (for writing the programs themselves) and an "interesting" memory and file system model (for creating application data structures and storing information).
I've written NewtonScript code that looked like C++, Pascal, Lisp (heavens!), and AppleScript. You would be wise to sit down in the book store and browse "Programming for the Newton" to see what you're getting into before you buy it.
What to do? I'd also check into NS BASIC. This is the BASIC language on the Newton. It's not fast or "cool", but you can probably learn the language and write some programs with it. You won't be creating integrated newton applications, but you can make newton user interfaces for your basic programs without too much learning.
That's my two cents. I've learned and programmed in more languages than I can remember (I currently have forgotten more languages than I activly use, and I use six on a daily basis). NewtonScript was fun to learn and is a really nice language/environment, but it's alot to learn. My time from novice to "able to write a program I understand" was about a month. Your time my vary :)
Disclaimer: I write NewtonScript articles for PDA Developers Magazine, and I co-wrote the NS BASIC Handbook. I don't get any royalties from NS BASIC Corp.
Subj: Re:Beginner HELP
Date: 95-02-16 15:36:04 EST
From: Lenhof
Posted on: America Online
Not new to programming, but new to PDA's. I have came up with PDA app idea but need to know if PDA can really do what I want.Don't want to give my idea to world yet but..... The data on PDA will be quite simple a number and a few other fields.Data will come from PC via a download. Key function is to touch number and pick up clock time hr:min:sec and store for PC upload. Will have some other simple functions to view and edit data. Like to start with wires and move to wireless. Also want to provide other types of input options other than Pen. Played with hand writing and accuracy ain't good enough.
Any help is appreciated,
len
Subj: ACADEMIC NTK
Date: 95-02-17 17:49:57 EST
From: JonasM7
Posted on: America Online
Hi Can anyone please tell me if there iis any NTK academic version?
please email me
Jonas Millan
Subj: Re:ACADEMIC NTK
Date: 95-02-17 21:37:16 EST
From: PDA PhilT
Posted on: America Online
Well,
You mean edu cost? Yes, try yer campus bookstore :-)
Phillip M Torrone (PDA PhilT)
PDA Forum Assistant Leader
Keyword PDA is how to find us!
Subj: bookmaker
Date: 95-02-19 11:09:51 EST
From: JonF504671
Posted on: America Online
I just purchased NTK and I'm hoping to write application that is more or less a proceedure manual.
The bookmaker part of the NTK was suppossed to be
usable by nonprogrammers. I am finding the "Newton Bookmaker Users Guide" not adaquate for walking me
through my first book. Any other documentation for
bookmaker available?
Subj: Re:bookmaker
Date: 95-02-19 14:26:29 EST
From: PDA PhilT
Posted on: America Online
Well,
If you need help, we're here! Also Look in the PDA Forum for some good tips and files on Books
Phillip M Torrone (PDA PhilT)
PDA Forum Assistant Leader
Keyword PDA is how to find us!
Subj: NTK
Date: 95-02-20 19:32:43 EST
From: JonasM7
Posted on: America Online
Hi is there an academic NTK if yes where can I get it
Subj: Re:NTK
Date: 95-02-20 22:34:29 EST
From: PDA PhilT
Posted on: America Online
I'd gp to yer local college bookstore and see if they still have the special
Phillip M Torrone (PDA PhilT)
PDA Forum Assistant Leader
Keyword PDA is how to find us!
Subj: App Bug - Question
Date: 95-02-21 00:50:21 EST
From: ZZTong
Posted on: America Online
I've written an application for the Newton with the NTK, and it all works, except for one last bug.
The last feature I added was to get the "Undo" button to work. Now, it seems like the program does end when you press the application's close box.
The view (visually) closes, and you can continue to use the Newton as normal, but when you start the application up again, it has (somehow) managed to remember values stored in some of the slots. Since I've not used an Soups, I'm lost as to how this can occur. It almost sounds like the application never really quits.
Any thoughts?
ZZTong
Subj: Re:App Bug - Question
Date: 95-02-21 12:46:13 EST
From: PDC Ben
Posted on: America Online
Well, when a view is closed, it still retains the contents of it's base slots (that's why the styles palette will remain where you left it when it's closed.) If you want to get rid of them, put them one level deeper in your app (ie, not in the base view but in one of it's children) or RemoveSlot() them in your viewQuitScript.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:App Bug - Question
Date: 95-02-21 18:26:13 EST
From: ZZTong
Posted on: America Online
Oh, I see; thanks.
So, is this also why an application can remember where it was after the Newton enters sleep mode, or is that because the application has never really been terminated?
(My guess is the latter.)
ZZTong
PS: Is this the correct forum for these questions, or should I use the "Developing for Newton" topic?
Subj: Re:App Bug - Question
Date: 95-02-22 11:54:47 EST
From: PDC Ben
Posted on: America Online
Sorta. 'Member, this ain't a regular PC...an app is never 'terminated', rather it's base view is closed. And, according to the NPG, a view's slots are never removed until it's PARENT is closed, in the case of an app, the parent is GetRoot()...closing that will reboot your machine (DON'T DO THIS ;-) When you sleep a newt, (new verb?) none of the apps are closed.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Help me Begin, Please
Date: 95-02-22 20:12:55 EST
From: DnE123
Posted on: America Online
I am interested in developing software for the newton. I just purchased a Newton120, and am interested in finding out information on just where to begin. I have contacted APDA and the told me that I could take a 5 day class for about $2500. also they told me that I should purchase the NTK for $800. I purchased the "Programming for the Newton" and have fooled around with the NTK, but I still do not think that I am anywhere further along than I should be.
Please help. Post here or E-Mail me at DNE123
Subj: Re:Help me Begin, Please
Date: 95-02-23 02:21:57 EST
From: PDC Ben
Posted on: America Online
Well, the best advice I can give ya is to first work through the samples in the book, then start writing an app of your own. When ya get stuck (and you will ;-) just give us a holler and we'll help ya out!
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Help me Begin, Please
Date: 95-02-23 19:36:32 EST
From: ZZTong
Posted on: America Online
>>>>I purchased the "Programming for the Newton" and have fooled around with the NTK, but I still do not think that I am anywhere further along than I should be.<<<<
You know, I've done (almost) the same thing. I think the "Programming for the Newton" book is not a good place to start because the "Waiter Helper" program is too big. What there needs to be is a book with several (very) basic applications to implement.
I've written a couple of simple programs so far, and I think I'm now ready to start back into the "Waiter Helper".
My advice is, get the "Guitar Tuner" application from the file repositories. It comes with the source code. Taking that application apart has helped me the most.
I've been looking for people to exchange code, and do "code walkthroughs." I've found one experienced Newton programmer, but so far I've not followed up on this, mostly because I'd like to do them face-to-face, or live. (So I can ask questions.)
ZZTong
Subj: Example?
Date: 95-02-23 19:40:09 EST
From: ZZTong
Posted on: America Online
Anybody know of, or have, an example Newton application which uses:
protoRoll
protoRollBrowser
protoRollItem
I'm looking for some source code to puzzle through.
ZZTong
Subj: Re:Example?
Date: 95-02-24 00:55:30 EST
From: PDC Ben
Posted on: America Online
Ugh...protoRolls, yuck! I'm working with them right now, their waaaay bad :-( You have to do everything in text form, no graphical layout at all. I'll see if I can dig up some sample code. Try FTP'ing to ftp.apple.com, and go to the pie/newton/samples (use keyword: FTP). There's a whole bunch of useful stuff there.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Help me Begin, Please
Date: 95-02-24 15:46:11 EST
From: SteveWeyer
Posted on: America Online
if you register for Newt (newt-devenv-25.sit/.zip here on AOL), I send you 160+ NewtonScript source examples -- this includes most of the DTS examples in Newt format and many of the other developer examples that have been posted (e.g., Guitar Tuner which was mentioned in another post). at $35 shareware, it's comparable to (or better than) the book -- but of course I'm slightly biased.
Life-12 is in the libraries and has source too.
Steve
(Newt author)
Subj: ProtoRolls
Date: 95-02-24 21:08:05 EST
From: SArmitage
Posted on: America Online
>>Ugh...protoRolls, yuck! I'm working with them right now, their waaaay bad :-(
>> You have to do everything in text form, no graphical layout at all.
Not true. Look at Preefer Madness in the Apple sample code. I just finished an application that used protoRolls heavily and it is possible to do it graphically (although you'd never know without seeing the tricks in the sample code).
Scott Armitage
Subj: Re:ProtoRolls
Date: 95-02-26 14:50:34 EST
From: ZZTong
Posted on: America Online
>>>>Look at Preefer Madness in the Apple sample code.<<<<
Where is this, exactly?
ZZTong
Subj: bookmaker kiosks
Date: 95-02-28 00:01:45 EST
From: JonF504671
Posted on: America Online
I am attempting to adapt some content into an interactive book for the newton. I would like to structure it using a main menu and with several submenus and then a few sub sub menus. I have started to do this using the book maker section of the newton toolkit. The documentation on setting up a series of Kiosks is confusing. Which command do you use and how do you link each item. ( I taught myself to use Hypercard and Macromedias Authorware and am finding Bookmaker much more difficult to learn.
Subj: Re:bookmaker kiosks
Date: 95-02-28 17:44:00 EST
From: LeeMoon
Posted on: America Online
I've done a couple of smaller books using the kiosks. Perhaps you could email me what you're looking for - I've got my original Word documents using kiosks that I could give you samples of.
Lee
Subj: NovNewtProg
Date: 95-02-28 22:24:41 EST
From: Mbufkin
Posted on: America Online
I am the thing itself, working on "Programming For The Newton". Pg. 105, when I try to delete the rows from the rowContainer template, the program crashes with the message "Application unknown has quit because an error of type 1 has occured." I am using a Performa 575. Until this point things have gone as per the book. Can anyone suggest what I may have done wrong?
Subj: Memory,. memory...
Date: 95-03-01 18:20:59 EST
From: J and T
Posted on: America Online
Try jacking up the memory allocation for the Newton Toolkit in the Get Infor window in the Finder. Highlight NTK, then type Command I, then change the figures at the bottom of the window to as high as you can go.
T (of J and T)
Subj: Bitmap/ Raster image question
Date: 95-03-02 19:09:57 EST
From: JeanneCog
Posted on: America Online
Does NewtonScript have calls to easily display bitmaps or raster images on the Newton? I am interested in displaying simple maps. Any help would be appreciated.
JeanneCog
Subj: Re:Bitmap/ Raster image question
Date: 95-03-02 19:46:57 EST
From: PDC Ben
Posted on: America Online
Yes, the newton can *easily* display PICT format files, assuming they've been put into a project using the Newton Toolkit.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Problems with NTK Demo
Date: 95-03-03 00:23:09 EST
From: JonathanLA
Posted on: America Online
I'm one of the diligent few, patiently working his way through "Programming for the Newton." I've run into a major glitch or to.
I've been playing with viewBounds and viewJustification. The Demo NTK doesn't seem to handle horizontal parent relative full positioning for justifying my views. I switch to this justification style, and then adjust my view bounds, and then the view i'm editing disapears. I can play with the numbers for full justification and make it come back into view, but when I switch over to the layout and move it a little, the values jump, and my view vanishes again. I click "undo" and the values all get bigger, climbing into the 600 figure range with a couple more clicks on undo.
Can anyone help me? Has anyone experienced this kind of thing, working through the book?
Thanks bunches.
Jonathan Allen (JonathanLA)
Subj: Re:Bitmap/ Raster image question
Date: 95-03-03 06:59:05 EST
From: JeanneCog
Posted on: America Online
When you say "put into a project" do you mean they have to be built using Newton tools? Excuse my ignorance, but I am trying to size doing a program on a Newton and have pre-built maps that need to be displayed. What formats can they be in for me to use them as is? I have the toolkit on order and also the Newton programming book but neither has arrived yet.
Subj: Re:Problems with NTK Demo
Date: 95-03-03 13:53:54 EST
From: PDC Ben
Posted on: America Online
Jonathan,
The NTK has a real problem displaying the full justification settings in the layout views. The only solution is, if you're creating views that use non-left/top justification, do all your viewBound modifying in the browser :-( And no, the problem ain't fixed in the full version.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Bitmap/ Raster image question
Date: 95-03-03 13:56:13 EST
From: PDC Ben
Posted on: America Online
They just have to be in PICT format...say, from SuperPaint (what I use.) Create the map, paste it into a PICT resource in ResEdit, name it (after pasting it in, get info on it, the second field is a name line.) and then, in the toolkit, drag out a clPictureView. Open a browser to it, give it an icon slot, and bang, yer golden! (This will all become much more clear after you work through some of the toolkit examples.)
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Newt to Windows Comm
Date: 95-03-04 07:50:05 EST
From: KeithP65
Posted on: America Online
I'm working on a project to gather information on a Newton and then send it to a PC where it will be stored in a MS Access Database. My problem is that I would like to have the newton talk directly to the Visual Basic application rather than having to write my data to a soup and have that sent via the Connection Kit to the PC and then exported out to a text file where it can be read in by the PC program. I'd like to just have the Newton and the Windows program "talk" via a set of API's on the PC for communication. Does anyone know of a set of API's out there that I can use or have any good suggestions or code samples to point me to.
Thanks,
Keith
Subj: WIRELESS FOR THE NEWTON
Date: 95-03-13 19:37:48 EST
From: RichC73664
Posted on: America Online
The new catalog from AP Professional Books lists a new book by McKeehan/Rhodes that is supposed to be out in April. It is supposed to pick up where PROGRAMMING FOR THE NEWTON stops... also has the demo version of the NTK.
Subj: NTK for Windows?
Date: 95-03-14 13:51:53 EST
From: GGoodrum
Posted on: America Online
Has anybody heard what ever happened to the NTK for Windows? Will this ever be released? I had heard a rumor that Apple was going to release it this month.
GGoodrum
Subj: Hanwriting Recognition?
Date: 95-03-20 21:02:55 EST
From: JNFOR3D
Posted on: America Online
Where and how in Newtonscript is the handwriting recognition accomplished? If one had an algorithm to test how would it be installed on the Newton?
Any help would be greatly appreciated!
Thanks,
jnfor3d
Subj: Re:Hanwriting Recognition?
Date: 95-03-21 19:54:32 EST
From: PDC Ben
Posted on: America Online
Handwriting recognition is not done in NewtonScript...it's done in compiled C (or maybe C++...dunno.) Interpretation is just too slow for this kind of processor-intensive operation.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Where to post NewtWare?
Date: 95-03-22 12:40:38 EST
From: Scarpaj
Posted on: America Online
Hi,
This is Joe Scarpa, I just finished a little shareware utitlity called NameSlalom that I put in the free uploading area. I was wondering if anyone had any insight as to putting programs like mine out one the "internet"?
Thanks Joe
scarpaj or NDBS
Subj: Re:Where to post NewtWare?
Date: 95-03-22 17:22:14 EST
From: PDC Ben
Posted on: America Online
Joe,
Go Keyword: FTP, and you can ftp to newton.uiowa.edu. That and amug (newton.amug.org, maybe? Dunno fer sure) are the two biggest sites out there.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Where to post NewtWare?
Date: 95-03-23 13:05:47 EST
From: HardyMacia
Posted on: America Online
Ben,
It's amug.org. Amug is not as well known as newton.uiowa.edu, but it has over 800 (so they say) more files and is kept up to date.
- Hardy
Subj: Re:Where to post NewtWare?
Date: 95-03-23 16:57:18 EST
From: NDBS
Posted on: America Online
Thanks to both Ben and Hardy, I'll check out both locatons.
One thing I'm not quite clear on yet is if packages (.pkg) files are transportable from Mac to windows.
i.e. does a Windows user downloading my .pkg have to do anything special to get it to his Newton?
also, I put my .pkg and an ascii readme together in a .sit. I tested downloading it onto my Mac and AOL nicely unstuffs it for me when I quit. Do windows AOL users get the same nice treatment, and
finaly, I'f I'm putting things on the internet locations you suggested, what are the conventions for compression etc.
Joe-
Subj: Re:Where to post NewtWare?
Date: 95-03-23 18:15:37 EST
From: PDA Craig
Posted on: America Online
As long as you follow PC naming convention--limit file names to eight characters-period-three character extension (pkg), and do NOT use special characters like the symbol for pi, Windows users can handle your file.
WAOL currently has an unzipper (1.10 only), but no unstuff provision. New Mac software can unzip most zip packages, although it may corrupt certain PC files under some circumstances.
You'll find .sit and .zip versions of files on the Net. Another common version is binhex--this format allows files to be mailed as text, then decoded into their proper formats.
The pkg format is binary compatiable between Windows and Mac, but Mac users need to set the file and creator types again if they want to use the plain pkg file that is taken from a PC.
Subj: Re:Where to post NewtWare?
Date: 95-03-23 20:25:01 EST
From: NDBS
Posted on: America Online
Thanks again!!!
Joe-
Subj: Demo NTK Woes
Date: 95-03-23 23:00:14 EST
From: Tercuman
Posted on: America Online
I'm using the Demo version of the NTK that accompanies _Programming the Newton: Software Development with NewtonScript_, by Julie McKeehan and Neil Rhodes. No sooner did I dive into the book than I noticed some apparent discrepancies between what book tells me I am supposed to do and what I seem to be able to do.
1) my protoLabelPickers don't have the field underlined. So I get "<>Number of People " when I (allegedly) should be getting "<>Number of People ....."
2) How do you set the "label" attribute of a protoLabelPicker? My book insists that it is possible. Names, texts and labelCommands I can handle, but no "label".
3) For some reason. I can't set the "icon" attribute of a clPictureView. When I try to do this, the File popup menu is de-selected. This is true even when the resource/PICT files are in the same folder as my project.
Help? Please eMail me an answer.
Subj: Toolkit memory requirement
Date: 95-03-24 11:15:58 EST
From: MarkEbell
Posted on: America Online
I just got McKeehan and Rhodes book "Programming the Newton", scammed an old Mac IIcx with 4mb RAM, and was dismayed to get a message that the toolkit requires 4.5 mb memory. Am I out of luck here? Any way around this?
Thanks, Mark Ebell
Subj: Re:Demo NTK Woes
Date: 95-03-24 16:38:59 EST
From: PDC Ben
Posted on: America Online
Well, to have access to resource files, they have to be in the project (use the "Add File..." command.) In protoLabelPickers, just set the text slot...that turns into the label when the view is shown.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Toolkit memory requirement
Date: 95-03-24 16:40:29 EST
From: PDC Ben
Posted on: America Online
Mark,
If you don't mind blowing about $50, you can get a program called RAM Doubler for the mac, which will give you 8 Megs.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Toolkit memory requirement
Date: 95-03-24 16:49:09 EST
From: AFC Pam
Posted on: America Online
RAM Doubler does not allow you to run any programs that require more RAM than you have physical. In short, if you haven't got more than 4.5 meg RAM, RAM Doubler will not help.
Pam
Subj: Re:Toolkit memory requirement
Date: 95-03-25 01:23:42 EST
From: MarkEbell
Posted on: America Online
Doesn't the Mac have the equivalent of virtual memory via caching, like Windows or DOS machines? Or is this heresy?
Sounds like RAM Doubler, (which I was about to buy) may not work! I don't want to drop much money into a machine I have to give back to my department in a month or two - this is meant to be a stopgap till a Window Toolkit is released. BTW, any word on a Windows Toolkit?
Mark
Subj: Newton Programmer
Date: 95-03-25 12:08:20 EST
From: RMargolis
Posted on: America Online
I need to hire a Newton programmer. We have technical support people in the field with Newton 110's and need a program to gather data about calls and problems. The information will be downloaded to Macs in the office. Anyone in the Los Angeles area interested in this work, please e-mail me at RMargolis. Thanks.
Subj: Re:Toolkit memory requirement
Date: 95-03-25 12:31:46 EST
From: AFC Pam
Posted on: America Online
Virtual memory can indeed solve your RAM problem; although it will be slower than using real RAM.
Pam
Subj: Newton Programming
Date: 95-03-25 12:31:47 EST
From: RMargolis
Posted on: America Online
I just posted a message re hiring a Newton programmer. After thinking about it, I realized I don't necessarily need a program but may be able to use an existing application configured for our purposes. It is a data gathering andmanaging problem. Not difficult but we don't have time or expertise to solve it. Thanks. E-mail me at RMargolis.
Subj: Re:Toolkit memory requirement
Date: 95-03-25 13:24:17 EST
From: MarkEbell
Posted on: America Online
Re: Virtual memory
I'm a total Mac newbie - is some sort of cache built in? I couldn't find anything on it. Is there a commercial or shareware cache you can recommend?
Thanks, Mark Ebell
Subj: System 7.0?
Date: 95-03-27 23:43:55 EST
From: MarkEbell
Posted on: America Online
Is System 7 required for the Newton Toolkit? I can't get the demo version to work with system 6.0.5.
Thanks,
Mark Ebell
Subj: Re:System 7.0?
Date: 95-03-28 23:24:27 EST
From: DPOMPEA
Posted on: America Online
Yes, Systems 7.0 w/tuneup is the minimum for the NTK. Also, 32 bit mode and 8 MB ram and '030.
From page 1-1 of old 3 ring NTK binder.
-dave
Subj: Help Replacing Deleted Soups
Date: 95-04-08 13:32:59 EST
From: Zinger6
Posted on: America Online
Well, it was bound to happen. I accidentally deleted my To-Do soup and now I can't add any To-Do items. What can I do? I don't have a connection kit yet, but I can transfer software to the Newton (Messagepad 100). I tried reinstalling the latest OS but that didn't help. Do I have to reset it or what?
Any help would be appreciated!
Ken
Linger@starsys.mdn.com
Subj: Re:Help Replacing Deleted Soups
Date: 95-04-09 11:47:37 EST
From: PDC Ben
Posted on: America Online
Well, your To Do's are gone, but all you should need to do is reset the newt, and then open the Calendar app. That should recreate the soup.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Programming For The Newton Book
Date: 95-04-09 12:31:25 EST
From: Sherilyn B
Posted on: America Online
This is the only book available and is an indespenable tool for Newton
Programmers. It has a disk with a sample Newton application, as
well as a demonstration version of Newton Toolkit (NTK).
Published by AP Professional, $29.95. Authors are Julie McKeehan and Neil Rhodes, external faculty at Apple Developer University.
0-12-484800-1
A second book is coming out 4/95, Wireless For The Newton,
by AP Professional @ $34.95 by McKeehan and Rhodes.
This book takes up where PFTN left off, teaching the reader how
to develop software on the Mac. Includes a disk with a fully functional
demonstration version of NTK.
Review from Intelligent Newton Magazine: "If you're curious about
developing Newton applications but don't want to pay $800 for
Newton Tool Kit (NTK), Programming For The Newton deserves
attention."
Subj: Is there Cheaper NTK ?
Date: 95-04-10 21:52:34 EST
From: TatsuoS
Posted on: America Online
Is there any shop that I can buy NEWTON TOOL KIT
cheaper than A.P.D.A?
If exists please teach me the FAX number , eMail address
or Tel number(other than 800).
If I buy NTK in JAPAN it cost about $1,800 !!
Tatsuo Sekine from Japan.
Subj: Re:Is there Cheaper NTK ?
Date: 95-04-11 08:00:26 EST
From: Gtelabs
Posted on: America Online
You can get the book "Programming for the Newton" from APP. It includes a "demo" NTK that you can use for your own devices. Costs $30 US
You cannot distribute any apps built with it
You don't get the apple documentation
You do get to learn about NewtonScript!
Subj: Re:Is there Cheaper NTK ?
Date: 95-04-11 12:14:46 EST
From: AFC Pam
Posted on: America Online
The NTK is only available from APDA. Sorry.
Pam
Subj: Re:Is there Cheaper NTK ?
Date: 95-04-11 14:28:59 EST
From: SteveWeyer
Posted on: America Online
If you're interested in NewtonScript development alternatives to NTK, take a look at the "Newt" Newton development environment; shareware, $35 currently. there's a FAQ under the Development section, and the software itself is available as newt-devenv-25.sit or newt-25.zip.
Steve
(Newt author)
Subj: Re:Is there Cheaper NTK ?
Date: 95-04-12 01:35:16 EST
From: TatsuoS
Posted on: America Online
Thank you Gtelabs.
I already have "Programming for the Newton" .
I must buy NTK from A.P.D.A.
Tatsuo Sekine
Subj: Re:Is there Cheaper NTK ?
Date: 95-04-12 01:37:13 EST
From: TatsuoS
Posted on: America Online
Hi SteveWeyer
I already down the Newt, but don't try it yet.
If I prefer it I'll register!!
Thank you.
Tatsuo Sekne
Subj: Re:Is there Cheaper NTK ?
Date: 95-04-12 01:38:04 EST
From: TatsuoS
Posted on: America Online
Hi AFC Pam
I will buy from A.P.D.A.
Tatsuo Sekine
Subj: Re:Is there Cheaper NTK ?
Date: 95-04-16 15:30:28 EST
From: Sherilyn B
Posted on: America Online
The book "PROGRAMMING FOR THE NEWTON' $29.95 BY
AP Professional 0-12-484800-1, there is a demonstration version
of NTK included on the disk.
Subj: Re:Is there Cheaper NTK ?
Date: 95-04-20 15:21:20 EST
From: THECSDG
Posted on: America Online
Yes there is a GOD DAMN cheaper version.
Borrow one from someone!!!!
I don't condone piracy of any kind, but I've been a Mac Programmer since 1985.
I've used mostly Think C on the Mac Plus --> Mac IIfx --> PowerMac.
NTK is far from being as flexible as TLC (it even has a wonderful source level debugger), so what the F--- gives Apple (whom, I believe wants to sell more Newtons Than NTKs) the write to RIP developers OFF!!!!
$800 for NTK, and $180 for the Newton 100 or $599 for the 110,120 is like
SELLING THINK C for $2400 and a POWER PC for $200..... WELL!!!????
Give me a #$!$@#@)$# break!!!!
Subj: NTK!?!?!?!
Date: 95-04-27 07:13:22 EST
From: FRace1212
Posted on: America Online
I own a Windows compatible computer, yet want to do programming on a newton. Is the NTK only for macintosh platforms????, or will another program work for the IBM????
Thanks.
Subj: Re:NTK!?!?!?!
Date: 95-04-27 08:49:51 EST
From: HardyMacia
Posted on: America Online
Hey, my computer is Windows compatiable too, and I'm running NTK on it. Of course, I'm running Windows under SoftPC on my Mac.
NTK is currently only for the Macintosh platform, but the is a rumored NTK for the Windows platform probably due out this summer.
Hardy
Subj: Re:NTK!?!?!?!
Date: 95-04-27 10:21:21 EST
From: Gtelabs
Posted on: America Online
You can also learn more about newtonscript programming using RunNewt 2.x. It runs directly on the newton and lets you create newtonscript programs. It's shareware, in the library. Also, there's NS BASIC, which is a basic language that runs directly on the newton. There's an information file on NSB in the library.
Subj: Re:NTK!?!?!?!
Date: 95-04-28 08:14:24 EST
From: SteveWeyer
Posted on: America Online
a "RUNewt" clarification.
you can use the "Newt" development environment (newt-devenv-25.sit/.zip) to create applications in NewtonScript. in 2.5, when you save the application, it goes into a special "application" soup, which you can run later using RUNewt (a kind of run-time launcher & library). in Newt 3.0 (watch for it next week), you can save "packages" directly from Newt (and RUNewt goes away).
Steve
(Newt Dev Env author)
Subj: Re:NTK!?!?!?!
Date: 95-04-28 13:10:39 EST
From: Gtelabs
Posted on: America Online
Thanks, Steve, for the clarification... BTW, great article in PDA Developers Magazine!
- John Schettino
Subj: Re:NTK!?!?!?!
Date: 95-04-28 15:12:01 EST
From: SteveWeyer
Posted on: America Online
> BTW, great article in PDA Developers Magazine!
John, just following in your debugging footsteps :-)
thanks. I knew it would be out soon but maybe mail is a little slow here so I haven't actually seen it in print.
Steve
p.s. for others: "InspecTerm Printomania" describe a general framework and a dozen or so ways that you can redefine the Print function and Notify methods and redirect output to a variety of other places.
Subj: Programming.
Date: 95-04-29 08:19:58 EST
From: FRace1212
Posted on: America Online
In NewtonScript can you make graphic pictures and save them in libraries so that different ones can be loaded at different times. For example, you have something that you can zoom in on, but the graphics would have to be different for each time you zoomed in/out on. So zoom in would load the zoominlibrary, and if its zoomed out, it would use the zoomedout library, you know what I'm sayin??????
Subj: Re:Programming.
Date: 95-04-29 09:13:19 EST
From: HardyMacia
Posted on: America Online
Sure. Create one frame called zoomin with the zoom in pictures and create another called zoomout with zoomout pictures then you would have a variable that would be pointing to the current state...
Subj: Re:Programming.
Date: 95-04-29 09:14:21 EST
From: HardyMacia
Posted on: America Online
Sure. Create one frame called zoomin with the zoom in pictures and create another called zoomout with zoomout pictures then you would have a variable that would be pointing to the current state...
Subj: Re:Programming.
Date: 95-04-30 15:31:15 EST
From: FRace1212
Posted on: America Online
I meant, if you had a changing grid, say, like a chess board. You would have different pieces at different spots at different times, so could you just have a background(land, chess board, etc), then have, depending on the zoom factor, the pieces on the board.
Subj: Re:NTK/PDA Developers Magazine
Date: 95-05-01 06:54:35 EST
From: Gtelabs
Posted on: America Online
<<p.s. for others: "InspecTerm Printomania" describe a general framework and a dozen or so ways that you can redefine the Print function and Notify methods and redirect output to a variety of other places.>>
For those who don't know, we're talking about PDA Developers Magazine. You can find info on it in the libraries, as well as in the topic area in this forum. I'm a contibuting editor there (which just meand I must come up with an article every two months)
If anyone has an idea for a topic they'd like to see covered in the magazine, please email it to js12@gte.com or GTELABS on AOL, and I'll see what I can do :)
John Schettino
Subj: Newt 3.0 Devel Env Avail
Date: 95-05-03 09:49:11 EST
From: SteveWeyer
Posted on: America Online
Newt 3.0 (latest release; available in the Development area) allows you to develop applications using the object-oriented NewtonScript language and save applications as "packages" directly on the Newton.
There is also a separate FAQ file, as well as the NewtATut 1.2 interactive tutorial.
Newt is shareware -- registered users can obtain files over the net, or receive floppies containing current releases, 165+ source examples, and a 80+ pp. manual (paper or Acrobat) describing Newt features and NewtonScript syntax and functions.
AOL: SteveWeyer
weyer@netaxs.com
Subj: NTK limit on files in a project
Date: 95-05-04 20:50:13 EST
From: Eechen
Posted on: America Online
I've been using the demo NTK in the McKeehan & Rhodes book, and it won't let me add more than 10 files to a project. Is this also a limit with the $800 NTK from APDA? If so, is there any way around it?
Subj: Re:NTK limit on files in a proje
Date: 95-05-04 23:07:05 EST
From: HardyMacia
Posted on: America Online
>and it won't let me add more than 10 files to a project.
No this is not a limit with the $800 version. BTW, the $800 version has dropped in price to $495 I believe thru APDA.
Hardy
Subj: NTK _did_ drop in price
Date: 95-05-05 07:07:53 EST
From: MAge Prods
Posted on: America Online
NTK 1.0 was reduced from $798 to $498 this week and is still bundled with BookMaker etc. I called APDA yesterday to refresh my memory on the new price.
1.5 is in beta and should be coming out relatively soon. The windows version is also in beta.
Gerald Buckley
MAge Productions
Subj: NewtonScript questions answered
Date: 95-05-17 06:24:33 EST
From: Gtelabs
Posted on: America Online
Answers questioned and questions answered! Bring your newtonscript puzzlers on in, we'll have a look at them!
John Schettino
PDC WannaBe
Contributing Editor: PDA Developers Magazine
Subj: Expiring packages. How?
Date: 95-05-17 17:39:25 EST
From: MAge Prods
Posted on: America Online
I'd like to write in an expiration script into my demo packages and have no experience doing this. Any examples or scripts that are available?
Also, would like feedback on protecting packages (as well as can be done) from piracy short of a ROM card. Ideas appreciated.
Gerald Buckley
MAge Productions
Subj: Re:Expiring packages. How?
Date: 95-05-18 00:27:52 EST
From: PDC Ben
Posted on: America Online
Prefs is a soup entry. I pass it to this function, and it returns nil if it's a registered version (you could always check to see if it's the RIGHT password ;-) and an integer (from 0 to 29) if it ain't, where the number is how many days are left. If it's expired, my installScript quits before running, or I AddDeferredAction(func(view) view:Close(), [self]).
func(prefs) begin
IF prefs.password then return nil;
IF NOT prefs.expireDateSlot THEN BEGIN
prefs.expireDateSlot := time() + 43200;
EntryChange(prefs);
END;
return (prefs.expireDateSlot - time()) div 1440;
end
HTH,
Ben
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Expiring packages. How?
Date: 95-05-18 07:04:13 EST
From: Gtelabs
Posted on: America Online
You'll want to enable the copy protected checkbox for the package prefs in NTK as well. Keeps NCK from backing it up (and extract packages from getting it!)
- john schettino
Subj: Re:Expiring packages. How?
Date: 95-05-18 17:07:16 EST
From: MAge Prods
Posted on: America Online
>> You'll want to enable the copy protected checkbox
>> for the package prefs in NTK as well. Keeps NCK
>> from backing it up (and extract packages from
>> getting it!)
Right John, I do that already and know the benefits of that procedure. But minimizing the piracy factor in other ways is my aim. How do I protect the software from making the rounds among the many potential users? PDC Ben had a very good potential solution that I'll test for a while but I need something more concrete for the long term.
TIA for anything else you may have to offer.
gb
Subj: Re:Expiring packages. How?
Date: 95-05-19 19:25:32 EST
From: HardyMacia
Posted on: America Online
You can base it on the Newton's Name or Serial Number. I use the Newt's name for PocketMoney and MPG. For Aloha I use the AOL Account Name, but I'll need to change ALoha to use the Newt's name so that users can use multiple accounts without me having to generate a reg-code for every account. This limits software from making the rounds. The users could change their Newt's name to the original person whose code it is, but then you Newt has someone else's name on it everytime you turn it on..
Hardy
Subj: Visual Basic
Date: 95-05-23 22:05:19 EST
From: MickMel
Posted on: America Online
I am becoming fairly proficient with Visual Basic for Windows. Would programming for the Newton be similar to that? I'm not looking to do much, but I think it might be fun to try...
Subj: Re:Visual Basic
Date: 95-05-24 05:24:04 EST
From: Gtelabs
Posted on: America Online
Yes and no (don'tcha hate that)
Visual Basic is BASIC + GUI, that's more like NS BASIC for the Newton. There is a folder here for NS BASIC, you might want to browse that and see what it's about.
NewtonScript is like scheme + Xt (did I hear someone scream?) You get a very powerful object-oriented language with a huge library of functions and reusable interface objects (called view classes and protos).
NewtonScript looks alot like AppleScript and HyperTalk, with important improvements. The interface objects are easy to use, and the Newton Tool Kit (the programming environment - it currently only runs on Macs, but a Windows version is due "real soon") lets you lay out the GUI by drawing the various elements on a little newton screen window. Then you add NewtonScript in the appropriate places to add the behavior to your application.
- john schettino
Subj: Spam removal
Date: 95-05-28 19:29:47 EST
From: PDA Craig
Posted on: America Online
:)
Subj: NTKWin 'real soon'?
Date: 95-06-01 16:07:33 EST
From: HBCOLLINS
Posted on: America Online
Any update as to how soon???
Subj: Who knows...
Date: 95-06-01 16:56:29 EST
From: J and T
Posted on: America Online
Will NTW Windows version come out first and thus be incompatible with Windows 95, or will Windows 95 hit the shelves in our lifetime, thereby forcing a rewrite of substantial portions of NTK Windows?
(hehehehehehehehe)
T (of J and T)
Subj: Problems installing Newtware
Date: 95-06-07 23:09:13 EST
From: DGraham
Posted on: America Online
I recently sent someone a pre-release Newton application that I am working on. This person is not able to get the package installer to recognize it as a valid package. He said that he has to change the "header" information on the file. Here is his procedure:
1. He downloads the "newtware.pkg" file from AOL using an IBM PC.
2. He runs AOMAC2PC.exe on the newtware.pkg file.
3. He copies the resulting file from his PC to a mac format disk using MacDisk.
4. Once at his Mac, he uses MacChange to "add header information back in".
5. He tries to download the newtware to his MP using the package installer, gets an "undocumented trap" error on his Mac and has to re-start.
What's wrong with this picture? Any ideas?
P.S. If I mail the same package to myself over AOL, I am able to download it to my MP100 without any problems using either the Mac or the PC package installer.
-Derek Graham
Subj: Re:Problems installing Newtware
Date: 95-06-08 06:43:43 EST
From: Gtelabs
Posted on: America Online
The header information is the file type an creator code (I wrote an applescript, in the AOL libraries, called newtonpackage typer, that does this for you!)
You friend may want to skip step 2 in his procedure, since package files are not really mac executables, just data files (on the mac)
Using my tool, I'd do the following:
1. He downloads the "newtware.pkg" file from AOL using an IBM PC.
2. He copies the file from his PC to a PC format disk
3. Once at his Mac, Use system 7.5's capability to mount dos disks, our use apple file exchange to copy the package onto his mac hard disk.
4. Use my applescript utility to change the file type and creator code, or use his current method if he lacks applescript
5. Download the newtware to his MP using the package installer.
My guess is that some bad data is being inserted into the package during his current procedure :)
- john schettino
Subj: Newt screen shots from NTK
Date: 95-06-11 16:37:08 EST
From: DGraham
Posted on: America Online
I am using version 1.0.1 of the NTK. My Newton is a MessagePad 100 with version 1.3 of the Newt OS. When I select "Screen Shot" from the NTK edit menu, I get a message box which says "Could not take a screen shot because the version of Newton to which you are connected is not supported"
Do I need to upgrade my NTK in order to get screen shots?
Derek L. Graham
Subj: Re:Newt screen shots from NTK
Date: 95-06-12 06:00:28 EST
From: TomU216
Posted on: America Online
<<Do I need to upgrade my NTK in order to get screen shots?>>
It sounds like you have the Platform file that came with NTK 1.01. It had a bug that would not permit screen shots from MP100's.
A newer version of the Platform file was released that corrected this. The file was released on the CD-ROMs that are distributed to members of one of the Newton support programs but I believe it is also available on e-World.
Regards,
Tom Unkefer
Nomadic Technologies
Subj: Re:Newt screen shots from NTK
Date: 95-06-12 06:40:46 EST
From: Gtelabs
Posted on: America Online
The new NTK platform file and toolkit app are also available via FTP from apple. Here's the location:
Get the MessagePadPlatform file and Toolkit-App-5.25.94
use keyword FTP to access FTP from AOL.
- john schettino
Subj: Re:Newton Programming Tools
Date: 95-06-15 08:22:53 EST
From: MCPearce
Posted on: America Online
LouKrieg said
>>If it's any comfort (it probably won't be :-)), the cost of getting into Newton development is actually incredibly low if you own a Mac.<<
If you don't own a Mac, what is the cheapest Mac one could use for development? I'm guessing that the NDK doesn't need a lot of computing power, or even a color monitor. Do I even need System 7?
Mike
Subj: Re:Newton Programming Tools
Date: 95-06-15 09:10:31 EST
From: Gtelabs
Posted on: America Online
Minimum Mac would be one with a 68030 CPU, 6 Megs, and System 7. I've use a powerbook 140 (slow, but usable) IIci, Quadra, and PowerMac. I guess you can get a used mac capable of running the NTK for about $500
- john schettino
Subj: slurpee problems
Date: 95-06-24 17:11:21 EST
From: Timhale
Posted on: America Online
I've been trying to connect using clarisworks and slurpee on the newton. I've tried a couple of hours worth of changing all of the commands, but just can't seem to get it to work. I tried going through the printer port at first, which is how I normally use the NCK, then switched to the modem port. I followed the instructions that came with slurpee, but I'm obviously overlooking something. Slurpee says something like, waiting for soup name, but doesn't respond to my typing xx in as a test. Any ideas where to start?
Tim
Subj: Re:slurpee problems
Date: 95-06-26 00:15:56 EST
From: PDC Ben
Posted on: America Online
I just started playing with comms, but I got Slurp to work with ZTerm (set to 8, none, 1, and a direct connection) no problem.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: New Newton Programming Book
Date: 95-06-28 12:24:56 EST
From: Gtelabs
Posted on: America Online
Available now - Book & Demo NS BASIC Disk, Paperback, $34.95, c.404 pp:
BASIC for the Newton, Programming for the Newton with NS BASIC
by John Schettino and Liz O'Hara
Published by AP Professional. ISBN: 0-12-623955-X
BASIC for the Newton shows owners of Newton devices how to become Newton
programmers using BASIC, the world's most widely used, beginner level
programming language. The authors use a straightforward, "programming by
example" approach, which should have you writing your own Newton programs in
very short order.
* Multi-platform: Covers programming for the Newton using a Macintosh, a Windows
based PC or on the Newton device itself.
* Includes floppy disk containing Demonstration NS BASIC and over fifty example
programs from the book.
ABOUT THE AUTHORS
John Schettino is a Senior Member of the Technical Staff at GTE Laboratories,
Inc. He is actively involved in research into mobile/wireless computing, user
interaction, and object oriented systems. John is a contributing editor for PDA
Developers Magazine.
Liz O'Hara, Ph.D., is an Information Technology consultant and author. She has
taught graduate courses in Software Engineering and Computer Science.
SYSTEM REQUIREMENTS
Newton device with at least 305KB storage memory free
Macintosh System 7 or higher or IBM PC compatible running Windows
Newton Package installer and serial cable
SKILL LEVEL
Beginner. Programming knowledge helpful but not required.
----
Demo NS BASIC is the same version as the currently shipping NS BASIC 2.04.
The only restriction is that you are limited to saving a single program (named
"DEMO.BAS") on the Newton.
AP Professional books are available in major bookstores. Books may also be
ordered directly from AP by calling 1-800-3131-APP
Subj: Re:slurpee problems
Date: 95-06-28 15:53:39 EST
From: SteveWeyer
Posted on: America Online
I don't have ClarisWorks -- each terminal emulator seems to be a bit different in how it's configured. besides the things Ben said, also make sure it's 9600 baud. once connection is open and you can type some characters across, then you should be in relatively good shape. (though not having xon/xoff checked can cause some problems).
Steve
Subj: Rom_Compatible finder
Date: 95-07-10 07:42:28 EST
From: TatsuoS
Posted on: America Online
Now I write a program that not use the Soup.
And I try to write a "find" function but ,
Undefined method "count"error occur.
These are the source.
>>func(what, results, scope, statusContext)
>>begin
>> local result ;
>> local foundItems :=[];
>> if statusContext then
>> statusContext:SetStatus("Searching in myprog");
>> local i;
>> for i:= 0 to 66 do
>> begin
>> if beginswith(SearchArray[i],what) then
>> begin
>> AddArraySlot(foundItems,
>> {title:SearchArray[i]});
>> end;
>> end;
>> myResult :=
>> {_proto: GetRoot().ROM_compatibleFinder,
>> owner: self,
>> items: foundItems};
>> AddArraySlot(results, myResult);
>>end;
Please tell me the reason!
Subj: Re:Rom_Compatible finder
Date: 95-07-10 23:49:08 EST
From: PDC Ben
Posted on: America Online
What's the error number you're getting again?
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Rom_Compatible finder
Date: 95-07-11 00:14:57 EST
From: TatsuoS
Posted on: America Online
>>What's the error number you're getting again?
The error number is [-48809]
And the inspector says undefinded messod
symbol "count".
But there is no function call for "count"
in my source.
Subj: Re:Rom_Compatible finder
Date: 95-07-11 21:21:34 EST
From: PDC Ben
Posted on: America Online
Well, I have no clue. Anyone else?
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: Re:Rom_Compatible finder
Date: 95-07-12 08:13:39 EST
From: HardyMacia
Posted on: America Online
>Well, I have no clue. Anyone else?
No, I haven't tried a non-soup based finder.
Hardy
Subj: 10401 err on MP120
Date: 95-07-12 10:42:41 EST
From: CraigR
Posted on: America Online
I've just written a little program to track leads at trade shows. It's pretty basic, and is built around one of the sample programs I found on the developer CD (GoodForm).
I've got it all done and it works great. Problem is I've been testing on an original MP with the upgraded ROMs and 1.3 OS and it works fine. Now when I load the same package on my MP120 (just got it yesterday) I get an error -10401 ("Bad Package") when I touch Find or Assist.
I gave up on Apple "developer support" (yeah, right) a long time ago and have not until now found myself stumped. (Not because I'm such a great programmer but because I haven't written more than about 1000 lines of NewtonScript <g>).
Anybody have a clue? This same app runs on my MP110 just fine.
I'm leaving for the trade show on 7/12 at noon, so the sooner I find out how to fix this the better. If you wouldn't mind, copy your response both here and on email so I don't miss it. Thanks.
-- Craig
Subj: Re:10401 err on MP120
Date: 95-07-12 21:47:17 EST
From: CraigR
Posted on: America Online
Answered my own question.
Here's the problem: When I went to load data from my MP110 to my new MP120, I follwed the instructions in the box but apparently had some kind of bad data in my calendar data, so I couldn't import my 110 data into my 120 sync file.
The only option in this situation is to "restore" from the 110 data. This erases the built-in software but apparently leaves some of their soups.
Plus... I had some apps on a flash card on the 110 that had soups in the main store. These soups got restored to my 120, but I don't have the flash card in the 120. So these soups don't have an application associated with them.
I removed all these orphan soups, did a reset, and now I no longer get the dreaded 10401 when I press "find" or "assist."
Based on the (lack of) help I got from Apple on this, I pity the poor MP user who doesn't have a pile of shareware soup snoopers on his Mac!
-- Craig
Subj: Re:Rom_Compatible finder
Date: 95-07-17 07:53:34 EST
From: PDT Aide
Posted on: America Online
try adding a slot named count with the number of matching entries to your myResult frame. Just a guess, but it might work.
- john schettino
Subj: Re:PC Based Development
Date: 95-08-07 21:50:25 EST
From: GS500E
Posted on: America Online
I know this may be a frequently asked question, but how do I download the "Newt 2.x" shareware stuff.
Thanks.
Subj: Re:PC Based Development
Date: 95-08-08 00:05:25 EST
From: PDC Ben
Posted on: America Online
You need to download it from AOL, then you'll need to unstuff it (using UNSITINS.EXE if you're on a PC, or built in to AOL on a mac) and then install it on your newt, just as any other package.
Ben Gottlieb (PDC Ben)
PDA Forum Consulant
Keyword PDA is how to find us!
Subj: digital ink into FileMaker field
Date: 95-08-08 22:27:20 EST
From: Hmart1
Posted on: America Online
Everything was going so well until I tried to import a digital ink field (pict) into a pict field in filemaker Pro. Is there a conversion routine to, as it were, connect the dots? If anyone knows of one it will save me a load of time Thanks in advance
Hollis McWethy
HRM Consulting Hmart1.aol.com
Subj: Re:Inspector Freezes
Date: 95-08-10 07:14:37 EST
From: SerkinJ
Posted on: America Online
On 6/28/94, KarynV writes:
>For those of you who have made it through the >WaiterHelper demo (in the McKeehan/Rhodes Newton >book): I am stuck!
>The error message is:
> Exception |evt.ex.fr.type;type.ref.frame|: [-48401] >Expected an array. Got: func()
>begin
>SetValue(itemPicker, 'labelCommands,
>menu:CategoryToItems(entryLine.text));
>SetValue(itemPicker, 'text, entryLine.teext);
>end
I'm having exactly the same problem, and it's driving me crazy. I haven't been able to find an answer posted anywhere. Can someone please help me?
--John Serkin (SerkinJ)
Subj: Re:Inspector Freezes
Date: 95-08-10 08:00:05 EST
From: PDT Aide
Posted on: America Online
Did you enter the code yourself, or use the project on the bundled disk? There are some known bugs in the example programs from that book. If you look in the back of the book, you may find one of the author's email addresses. If not, I can track them down.
- john schettino
Subj: Re:PC Based Development
Date: 95-08-10 13:39:47 EST
From: SteveWeyer
Posted on: America Online
Newt 3.0 is the current version (for at least a few more days). newt-devenv-30.sit and newt-30.zip should be available in the regular or developer library. as an introduction to Newt, you might also take a look at the NewtATut package (a Newt application tutorial), an interactive book which leads you thru the process of building an application.
and of course you can post questions for me here, or email me via SteveWeyer. if you have web access, there is a lot more info available via:
www.netaxs.com/~weyer/newton/releases.html
Steve
Subj: Re:Inspector Freezes
Date: 95-08-10 15:01:49 EST
From: SerkinJ
Posted on: America Online
Thanks, John--I entered the code myself, but checked everything five times (!) against the code from the demo. I also sent e-mail to KarynV, who posted the same problem back in '94, but I haven't heard back as yet. Any help would be _greatly_ appreciated! --John Serkin
Subj: Re:Inspector Freezes
Date: 95-08-11 16:27:02 EST
From: JGMcKeel
Posted on: America Online
I can share your frustration! What page are you on? Meanwhile, try opening their completed code and look at the same part. I'll try to help if I can. Meanwhile, if anyone reading this is planning on writing a programming book, please have a complete novice try the exercises first!!!!!
Cheers!
John
Subj: Re:Inspector Freezes
Date: 95-08-11 18:05:16 EST
From: SerkinJ
Posted on: America Online
Thanks, JG, for your offer to help. I entered all code to the bottom of page 195, where it suggests building and downloading. I already have looked at their completed code, many times, and am convinced that I've copied everything correctly. With BreakOnThrows set, the Inspector will not respond, so I can't exit the break loop or do a stack trace. With embedded BreakLoop()s the Inspector works after the exception is thrown, but a StackTrace only prints the first entry. Does anyone know how to get in touch with the authors? My calls to the publisher haven't been returned. --John
Subj: Re:Inspector Freezes
Date: 95-08-12 07:10:24 EST
From: PDT Aide
Posted on: America Online
Programming for the Newton
Email addresses of Authors (from Wireless for the Newton):
NeilRhodes@eworld.com
JMcKeehan@eworld.com
I'd ask them if they have an Errata sheet for the book that can be posted.
- john schettino
Subj: protoTextList
Date: 95-08-12 12:55:16 EST
From: MSchemen
Posted on: America Online
I am trying to use a protoTextList in my first application. I want to add something to the list when a button is pressed. I tried modifying the itemList array but that did not seem to work. If any of you have some sample code it would help.
Subj: Setting up inspector
Date: 95-08-12 12:58:48 EST
From: MSchemen
Posted on: America Online
I've been using localtalk to sync and download my newton buy now I want to use the Inspector. Can I use the same localtalk cable just with localtalk off?
I seem to be having problems with this. Any surgestions.
Subj: Re:Setting up inspector
Date: 95-08-13 06:34:58 EST
From: PDT Aide
Posted on: America Online
Localtalk connectors don't work with the inspector - you need a real serial cable (comes with NCK, or you can buy a Mac "imagewriter" cable from most Mac stores (even Computer City) for $6.
Subj: Re:Inspector Freezes
Date: 95-08-18 07:07:04 EST
From: SerkinJ
Posted on: America Online
Thanks to the extraordinary kindness of Neil Rhodes, co-author of "Programming for the Newton," I found the problem that I and some others had with WaiterHelper. I include his e-mail response to my plea for help, in the hope that it might be of interest. It provides yet another illustration of the silly mistakes that a total novice like me can make. --John Serkin
-------------------------
John,
Your problem(s) are that you have some methods (functions) which are not
being compiled, but are left in your program as strings. You can tell this
is the case because of the error you get:
Exception |evt.ex.fr.type;type.ref.frame|: [-48401] Expected an array. Got:
which signifies that the value the NewtonScript interpreter got was a
string (as evidenced by the double-quote marks around the string.
The reason this is happening is probably because you've created the slot
containing this function as a text slot rather than an evaluate slot or a
Script slot. (see Page 373 for more details). You can't tell any difference
when looking in the slot editor (the text slot automatically adds
double-quotes at compile-time). You could tell if you turn on Show Slot
Values (see Page 371). All of your functions should have Script or
Evaluate, not Text.
To fix this, I suggest going to the slot containing the code that is the
wrong type. Then, rename the slot to something else (call it foo, maybe).
Now, create a new slot with the original slot name (make sure it is of type
Evaluate, or Script!). Then, copy the contents of the old slot (now called
foo) to the new slot. Finally remove the foo slot.
Now, you should have the function as a true function, and not as text.
This may have occurred for more than one function. By your Inspector
output, it appears that the following function was incorrectly a text slot:
itemPicker.textChanged
Good luck,
Neil Rhodes
Neil Rhodes
Subj: Form Generators?
Date: 95-08-18 11:54:04 EST
From: CoveB
Posted on: America Online
I am looking for some information on the various Form Generators for the Newton (i.e. TabulaRasa, FormLogic, PenEase, etc.).
How easy are they to work with?
Is there anywhere I can find out how they are rated and priced?
What type of communications abilities do they have?
I would appreciate any information available.
Subj: Re:protoTextList
Date: 95-08-23 06:18:27 EST
From: THECSDG
Posted on: America Online
Hi MSchemen,
This may help, I have it in my own program.
Put this slot into the protoTextList itself
Call it say...:
"putList"
--------------------------------------
func(myitem)
begin
AddArraySlot(self.listItems, myitem);
:SetupList();
:RedoChildren();
end
Put this into your Button
----------------------
// add to list array and show it!
yourList:putList("Hello Figman");
yourList:Dirty();
RefreshViews();
The key function is "AddArraySlot" and the self.listItems makes it easier not to have to specify the list. You could very well put all this code in your button but if you have alot of buttons wasted space would be the result.
Good Luck,
The Figman
Subj: PC Based development
Date: 95-08-26 10:48:54 EST
From: SWAMYK
Posted on: America Online
At the risk of offending someone, will some kind soul post a FAQ
regarding PC based development issues on the Newton ? Or atleast
point me in the right direction ? I have been trying to locate one such
FAQ for some time now.
Subj: Re:PC Based development
Date: 95-08-27 06:56:02 EST
From: Gtelabs
Posted on: America Online
There are only three choices
* NS BASIC
* Newt 2.5
(both of these have info in the AOL libraries, just search for newton basic or newton newt)
* Windows version of NTK from apple
(this is in beta testing, and will be available real soon now!)
- john schettino
Subj: how to use "Return"
Date: 95-08-27 07:55:13 EST
From: SerkinJ
Posted on: America Online
I'm working through "Programming for the Newton" and making sense of most of it. However, I don't understand how the "return" statement works, e.g.:
func()
begin
return foreach name in categories collect name;
end
or:
return true;
There seems to be no discussion of "return" in the book, so I guess this is something I'm supposed to know from other languages. Sadly, I have no experience with C-languages, having done no programming since the old C-64 6502 assembly language days. Thanks for any help.
--John Serkin (SerkinJ)
Subj: Re:how to use "Return"
Date: 95-08-27 18:33:12 EST
From: PDC Ben
Posted on: America Online
The return statement stops execution of the function, and leaves whatever follows it on the stack. If you have a function like this:
myFunc := func(yup) begin
IF yup THEN
return 4;
return 3;
end;
You can use the return value like this:
local myVar := :MyFunc(true);
print(myVar);
This will print out 4...if you did this:
local myVar := :MyFunc(nil);
print(myVar);
You'd get 3.
Hope this helps...
Ben Gottlieb (PDC Ben)
PDA Forum Consultant
Subj: Act for the Newton
Date: 95-08-27 22:06:11 EST
From: DiamondVlt
Posted on: America Online
I was wondering if anyone knew if Act! for the newton was developed yet.. My purpose was to interface with my other version, pc and to use it to track contact and job orders.
Please E-mail me at Diamondvlt@aol.com Thanks
Subj: Re:how to use "Return"
Date: 95-08-28 08:44:01 EST
From: Gtelabs
Posted on: America Online
What ben is saying is that every NewtonScript statement yeilds some value. What you do with this value is up to you. The return statement simply ends the current function after evaluating the expression that follows it. If you are familiar with other languages, there is some times the distintion between a function (a block of code that returns a value) and a procedure (a block that doesn't) NewtonScript has no such distinction, every function returns a value, even if you don't include a return statement.
What about your examples? Let's look:
func()
begin
return foreach name in categories collect name;
end
This first one looks odd, but consider the expression after "return". This expression yeilds an array of strings - it could be written as:
func()
begin
names := foreach name in categories collect name;
return names;
end
but that just creates a needless variable. M&R just "optiomized" it a bit and skipped the assignment. If they were really feeling bizzare, they could have gone with:
func()
begin
foreach name in categories collect name;
end
since the last value produced is the same.
Now the other example:
return true;
Here we're just returning a literal value. As Ben pointed out, you can access the value returned by a function by using the function call in an assignment statement. You can also use it in any other expression (like if, while, or as a paramater to another function.)
Let's say we have a function that returns true if the current time is in the morning, or nil otherwise. If the function was named is_morning, and took no paramaters, you could call it in the following ways
local am := is_morning(); // simple assignment
local pm := not is_morning(); // expression assignment
if is_morning() then // if expression
You get the idea.
How you call your functions depends on where and how they are defined, and is left as an exercise for the reader :)
- john schettino
Subj: Re:PC Based development
Date: 95-08-28 09:37:19 EST
From: SteveWeyer
Posted on: America Online
there's a FAQ on the Newt Development Environment here on AOL, either in the main or the Developer library, that covers Newt as well as a few other alternatives. file name is probably newt-dev-env-faq-31.sit/.zip. the tool itself is newt-dev-env-31.sit/newt-31.zip.
Newt allows you to develop applications in NewtonScript and save as packages directly on your Newton. you can also use a PC, Mac, or whatever to edit source text, transfer to the Newton, debug.
Steve
(Newt author)
Subj: WHERE DO I GET NTK?
Date: 95-08-31 17:58:25 EST
From: PoorMacUsr
Posted on: America Online
WHERE DO I GET NTK??
Subj: Re:WHERE DO I GET NTK?
Date: 95-09-01 05:31:20 EST
From: AFC Pam
Posted on: America Online
You purchase NTK 1.5 from APDA, 1-800-282-2732 (U.S.), 1-800-637-0029
(Canada), or 716-871-6555 (international).
Pam
Subj: Re:WHERE DO I GET NTK?
Date: 95-09-02 07:35:00 EST
From: Gtelabs
Posted on: America Online
You can also get a DEMO version of the NTK in either "Programming for the Newton" or "Wireless for the Newton" - both books from AP Professional, for $29 and $35. They are in books in print and can be ordered from any major bookstore.
- john schettino
Subj: protoPicker on protoFloater
Date: 95-09-10 14:46:15 EST
From: WHeintz
Posted on: America Online
I have a protoFloater view (app) which is smaller than the Newton screen so I can move it around and work with the other open app. On some of the buttons on this Floater, I call a protoPicker view passing the button bounds. Depending on the size of the Picker, it draws outside of the Base view (Floater) and draws over the other open app. These parts outside the Floater are not clickable nor are they erased when the Picker goes away. (Sometimes, most of the Picker is drawn off of the Newton Screen!)
I have tried to intercept the Picker Bounds and/or viewBounds slots and force these within the bounds of the Floater (in the viewSetupDoneScript) -- with limited success.
Does anyone have any idea how I can either:
a) force the Picker to stay within the Base view, or
b) be able to click and also re-draw on the Picker parts which exceed the Floater view.
Subj: Re:protoPicker on protoFloater
Date: 95-09-10 21:59:26 EST
From: PDC Ben
Posted on: America Online
How come you're not using DoPopup(...)? Views can be no larger than their parents, so if you try to manually create a popup, it will have this limitation. The solution is to use DoPopup(list, x, y, returnView), as this will take care of everything for you.
PDC Ben (Ben Gottlieb)
PDA Forum Consultant
Subj: Re:protoPicker on protoFloateral
Date: 95-09-12 13:21:16 EST
From: SteveWeyer
Posted on: America Online
I agree that DoPopup is probably best since you were already using a picker. another alternative is to do BuildContext() on the template -- that will open up ok outside the original app, but make sure that you have a way to close it (and/or do this in your app's viewQuitScript).
steve
Subj: Re:protoPicker on protoFloateral
Date: 95-09-13 14:47:08 EST
From: WHeintz
Posted on: America Online
DoPopup did the trick! Thanks PDC Ben, and Steve.
Now, if only I could get it to popup to appear over a specified "button" on a clKeyboardView.
Bill
Subj: Ragout Soup Utility
Date: 95-09-18 12:16:38 EST
From: CDPI
Posted on: America Online
Creative Digital Inc. is pleased to announce tha availability of Ragout. Ragout is the ultimate soup tool, designed for Newton developers, consultants, and power users. Incorporating an intuitive, easy-to-use interface that displays all essential soup information, Ragout lets you:
* Create, delete, copy, and move soups;
* Add and remove soup indices;
* Create, delete, copy, move, view, and edit soup entries, and change slot data types;
* Delete all entries in a soup or index;
* Create multiple copies of a soup entry, a feature that is particularly useful for sizing potential soup structures.
* Fax and print soup information and entry details for documentation purposes; and
* Beam soup entries to another Newton.
Ragout has a variety other features that let you easily navigate within a set of soup entries. First, you can step into and out of nested frame and array structures to an arbitrary depth, giving you complete access to all the data ina soup. You can also move to the first and last entries within a soup, move forward and backward 1 or N entries, set and go to a specific tagged entry, or search for a specific entry by index value. These operations are all done within the context of a specific index or the entire contents of a soup.
An electronic version of Rabout's documentation has been posted on:
* CompuServe (GO NEXTVENS, look in the Creative Digital library)
* ftp://newton.uiowa.edu/submissions/ragout.sit and ragout.zip
* eworld - GO NEWTON/Llama Lounge/Sample Code & Tools/New Files
* America Online - Computing/PDAs/Newton Resource Center/PDA Development Files
Created by Ricardo Martinez, Ragout is available exclusively from Creative Digital Inc., publishers of PDA Developers magazine and several other Newton developer tools, including ViewFrame and NewtRTFM. Ragout's retail price is $55. Shipping and handling is $7.50 within North America, $12.50 elsewhere. Dealer, distributor, and site license inquiries are welcome.
Creative Digital, Inc., 293 Corbett Ave, San Francisco, CA 94114
415.621.4252
415.621.4922 (fax)
cdi@cdigital.com
74774.50@compuserve.com
cdpi@aol.com
CDigital@eworld.com
Subj: Extras Drawer
Date: 95-09-21 13:55:53 EST
From: JGMcKeel
Posted on: America Online
How do I close the Extras Drawer when a user launches my App? There must be a simple answer but I can't find it.
Thanks!
John
Subj: Re:Extras Drawer
Date: 95-09-21 15:58:52 EST
From: PDC JohnS
Posted on: America Online
There is the ever popular:
getroot().extrasdrawer:close()
Put that in your viewsetupdonescript.
There's probably an even better way :) Ben?
- john schettino
Subj: Re:Extras Drawer
Date: 95-09-21 22:17:14 EST
From: PDC Ben
Posted on: America Online
<<getroot().extrasdrawer:close()
Put that in your viewsetupdonescript.
There's probably an even better way :) Ben?>>
Nope, that's the best way. You can also put it into the viewSetupFormScript.
Ben Gottlieb (PDC Ben)
PDA Forum Consultant
Keyword PDA is how to find us...
Subj: Multi views
Date: 95-09-22 03:57:28 EST
From: Khai Tam
Posted on: America Online
Here's my problem, somebody can can help I know that. I am creating a simple read only application similar to a newton book, but the difference is an index with shortcuts to these pages. now I know anybody who knows the first thing about programming would have no problem with doing this. I, on the other hand, am not an experienced programmer nor have I had much experience with NTK, but I have the Demo and I have all my Views created for the program my problem is with writing the scripts for the buttons. I somewhat understand the parent, child relationships but do not even know if that has anything to do with my problem. Anyway, from the Main view I have a button that when pressed will take you to the next screen (supposedly) As I have said I have both the Main and Secondary views created but do not understand the script part for the button what I am doing is putting under "ButtonClickedScript"
func()
begin
secondary:show()
end
"Main" being the main view and
"Secondary" being the secondary
also "Secondary" is the name of the layout and the clView I want to show up when the button is clicked
Thanks in advance
Khai Tam
Tom
Subj: Re:Multi views
Date: 95-09-22 05:33:39 EST
From: TomU216
Posted on: America Online
Tom,
Instead of
secondary:show();
use
secondary:Open();
Assuming that in NTK the Flags slot of your secondary view you have the Visible option set to off so that it is not shown until you want it to be, you need to use the open() function in order to instantiate the view. Show() is what you'd use if the view has already been instantiated and then hidden with the Hide() function.
Tom Unkefer
Nomadic Technologies
Subj: Re:Multi views
Date: 95-09-23 02:32:16 EST
From: Khai Tam
Posted on: America Online
I tried your suggestion but to no avail. I believe I am forgetting to do something else, here is a text export of me prodject, if you would take a look and tell me if you can see something I've missed, I would greatly appreciate if you could post or mail me how to solve my problem.
Also, make sure your Secondary button is declared in your base view.
Tom
Subj: Re:Multi views
Date: 95-09-25 14:57:06 EST
From: Khai Tam
Posted on: America Online
Well I did it. It took me long enough but I did it thanks for your help Tom, what I vas doing wrong is using the open command on the view itself not the linked view on the main layout.
(I ended up downloading some sources for other apps and just studying them)
Tom
Khai Tam
Subj: Re:Extras Drawer
Date: 95-09-25 17:22:06 EST
From: SteveWeyer
Posted on: America Online
you might want to make that
GetRoot().ExtrasDrawer:?close()
since I'm not sure ExtrasDrawer is really an official app there forever...
steve
Subj: Re:Extras Drawer
Date: 95-09-25 17:30:53 EST
From: PDC JohnS
Posted on: America Online
Steve Weyer Rightly Suggests:
GetRoot().ExtrasDrawer:?close()
For those not in the know, the :? operator calls a method in a NewtonScript Frame (View) *if it exists*, otherwise it does nothing. The regular : operator will throw an exception if the slot does not exist, resulting in one of those "Sorry a Problem Occured" messages if you don't specifically catch it in a try block. So this is a simple way to make your code fail gracefully. Of corse, if we're talking about unsupported hacks anyway, you can always recode it when the OS changes and it fails.
- john schettino
Subj: Re:Extras Drawer
Date: 95-09-28 13:14:13 EST
From: Khai Tam
Posted on: America Online
Alright new problem, I've been studying the guitar tuner code to learn how to use sounds and I've got it except for In the Project Data file the command "Getsound11" i changed to "Getsound" and now when I try to build the package I get a Inspector Error saying that my sound has to be sampled at 22KHz which it is so my question is, is there a command like"Getsound22" or is there some way I can change my sound file into 11KHz without losing sound quality.
Talk about one big run-on sentence
Thanks
Khai Tam
Tom
Subj: Sound was Re:Extras Drawer
Date: 95-09-29 10:47:51 EST
From: Gregvaughn
Posted on: America Online
> Alright new problem, I've been studying the guitar tuner code to learn how to use
> sounds and I've got it except for In the Project Data file the command
> "Getsound11" i changed to "Getsound" and now when I try to build the package I get
> a Inspector Error saying that my sound has to be sampled at 22KHz which it is so
> my question is, is there a command like"Getsound22" or is there some way I can
> change my sound file into 11KHz without losing sound quality.
You never did mention *why* you changed Getsound11 to Getsound...
Anyway, the two compile time functions available from NTK to get Mac snd resources are GetSound and GetSound11. The first one requires 22KHz sounds while the second requires 11KHz.
No, there's no way to convert the sounds from 22 to 11KHz without loss of quality, but there is no need to. Just change the call back to GetSound. Oh, maybe you are wanting to make a smaller package. If that is the case, then check on of the many shareware Mac utilities that will downsample sounds. Then convert the sound to 11KHz and use the GetSound11 call. You'll have to try it out and see if the loss of sound quality is noticable. I kind of doubt that it will be since the Newton doesn't have a high quality speaker in the first place.
Greg Vaughn
Newton Developer
NETSeer Corp.
Subj: Re:Sound was Re:Extras Drawer
Date: 95-09-29 15:51:58 EST
From: PDC JohnS
Posted on: America Online
<<No, there's no way to convert the sounds from 22 to 11KHz without loss of quality, but there is no need to. Just change the call back to GetSound. Oh, maybe you are wanting to make a smaller package. If that is the case, then check on of the many shareware Mac utilities that will downsample sounds. Then convert the sound to 11KHz and use the GetSound11 call. You'll have to try it out and see if the loss of sound quality is noticable. I kind of doubt that it will be since the Newton doesn't have a high quality speaker in the first place.>>
And according to the NTK 1.5 docs, GenSound11 will down-sample a 22khz sound for you!
- john schettino
Subj: Very novice...
Date: 95-10-06 21:40:46 EST
From: RPGOP
Posted on: America Online
Well,
I am about to start a programming course at (actually through) my school. I have the option (but option) of either Pascal or Basic. I wanted to choose basic, because of its use for the Newt, but, I have found that BASIC for the Mac, is pretty much dead. Does any one have any advice on this subject? It would be VERY much apprieciated. :-)
RPGOP
Ryan
PS- I very seldom (never) go into this part of the forum, so, if you please, e-mail responces. Thanks.
Subj: Re:Very novice...
Date: 95-10-10 13:23:43 EST
From: SteveWeyer
Posted on: America Online
many developers have suggested that Apple make NewtonScript available on other platforms (like Mac, PC) since it's a nice language/environment -- but I don't expect that to happen... (NewtonScript's syntax is Pascal-ish).
steve
Subj: Re:Very novice...
Date: 95-10-10 16:30:09 EST
From: PDC JohnS
Posted on: America Online
Yeah, since they already have the NewtonScript interpreter running on both Mac and Windows (that's what some of the NTK and NCK are implemented with)
- john schettino
Subj: Programmer needed
Date: 95-10-13 07:34:14 EST
From: HHarel
Posted on: America Online
I have a pc-based object oriented application I need to adapt to the Newton.
Any expreienced programmer out there in need of some work?
e-mail me at my aol address, HHAREL.
Thank you!!!
Subj: NewtOnLine NS BASIC Columns
Date: 95-10-13 15:01:48 EST
From: PDC JohnS
Posted on: America Online
As some of you may know, I'm the author of the NS BASIC Column for NewtOnLine. Since it's not on line very often (and I'm working for free) I thought I'd put the columns in my web page. So the July, August, September, and October columns are available right on the Web,
http://users.aol.com/pdcjohns/author.html
(the links are about 3 pages down from the top)
Happy BASIC coding!
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://users.aol.com/pdcjohns/
Subj: GradeBooks
Date: 95-10-13 21:45:56 EST
From: Watzie
Posted on: America Online
I'm a school teacher at the middle school level and I'm intersted in a hand held computer that will allow me to keep attendance and grades while at school and transfer them to my mac when I get home from school. I currently write everything down at school and have to transfer it at home into my computer. This would be an excellent organizational tool for any teacher. Does anyone know of any such programs?
Thanks,
Watzie
Subj: Re:GradeBooks
Date: 95-10-14 09:08:33 EST
From: AFC Pam
Posted on: America Online
You could probably use our program AppGen to build exactly what you need; and it's very easy to use, much like filling in preferences.
Pam Niedermayer
Chairman, VP Marketing
Pinehill Softworks, Inc.
301 Main St.
Falmouth, MA 02540-2751
(508) 548-4470
(508) 548-8731 FAX
Subj: Bookmaker Help Needed
Date: 95-10-17 16:05:30 EST
From: KarensRick
Posted on: America Online
I've been trying to Newton-ize a rather larger product spec I need in my work.
The Browser is large with 4 levels. I change Headers for each Level 1. No kiosks or scripts. Simple and straight-forward (I think).
For some reason, a few ".subject" commands aren't recognized. I've read everything I've got access to and have saved in RTF, inserted ".story" commands everywhere, and I am stumped. I cannot figure out why 5 of several hundred ".subject"s don't take.
Any ideas?
Also, in the upgrade to NTK 1.5, what was done to Bookmaker?
Thanks for your help.
Rick
Subj: Printing multiple entries
Date: 95-10-30 18:41:09 EST
From: JGMcKeel
Posted on: America Online
Grrrrr... I'm at a loss. I can print a single soup entry, but how can I print multiple entries on a single page? Take the waiterhelper from McKeehan/Rhodes book "Programming for the Newton" as an example. What if I wanted to print out all of the orders? How do I create a print template that functions like the overview? Where should I look for example code?
Thanks for your help,
John
Subj: Re:Printing multiple entries
Date: 95-10-31 06:47:20 EST
From: PDC JohnS
Posted on: America Online
You'll need to use the fields.body slot to hold the data you want to print (let's say you toss a cursor in there, for instance)
Then you can set up your print format to contain multiple children in rows, and create as many rows as you need (or will fit on a page) when printNextPageScript is called....
There's more info on routing in "Wireless for the Newton", but this is a case where documentation really helps. You can also check out the source code at apple's developer web/ftp site (check out "What's Hot in PDA" under Keyword PDA for Newton web links)
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://users.aol.com/pdcjohns/
Subj: Indirect access for SIG
Date: 95-11-01 21:55:00 EST
From: TatsuoS
Posted on: America Online
I am making a Map and Viewer.
The Map is Auto Part and can plug in.
The installScript of the AutoPart is here.
>installScript := func(partFrame, removeFrame)
>begin
> local template := BuildContext(partFrame.partData.MapTemplate);
No need to intern tApp, that's what the quote is for
you'd use intern on "|Map:SIG|"
>local tApp := '|Map:SIG|;
>local targetView := GetRoot().(tApp);
>Map := AddStepView(MapBase,targetView);
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://users.aol.com/pdcjohns/
Subj: Re:Indirect access for SIG
Date: 95-11-02 23:10:34 EST
From: TatsuoS
Posted on: America Online
Thanks PDC JohnS !!
I'll try it.
TatsuoS
Subj: NS BASIC and Newton OS 2.0
Date: 95-11-09 13:50:31 EST
From: NSBASIC
Posted on: America Online
FOR IMMEDIATE RELEASE
Contact:
George Henne
NS BASIC Corporation
416 264-5999
NS BASIC 3.0 FOR NEWTON OS 2.0: Faster and More Powerful
November 9, 1995
NS BASIC Corporation announced today the availability of Release 3.0 of NS BASIC, which takes full advantage of the new capabilities of Newton 2.0. It features substantial performance gains over previous versions of NS BASIC, as well as important new features:
* Standalone packages can be developed for royalty free distribution
* Powerful new window objects allow extended functionality
* Programs can operate in normal or landscape mode
* Integration with Newton Pressx files
* Many other new additions to the language
NS BASIC is a powerful and easy to use scripting tool/development environment for Newton devices that combines a toolkit of built in window objects with a scripting capability based on the well-known programming language, BASIC. NS BASIC goes way beyond basic BASIC, providing extensions to take full advantage of the rich Newton environment.
NS BASIC 2.5, the previous version, will continue to be supported until further notice. It runs on both Newton 1.x and Newton 2.0 devices, but without the new features of 3.0.
NS BASIC 3.0 is priced at $99.00 USD. Existing users may upgrade for just $29.95. The product is available immediately. Anyone buying NS BASIC after November 1, 1995 will be entitled to a free upgrade to version 3.0.
NS BASIC includes a 240 page manual as well as Windows and Macintosh format diskettes. Sample code is included as well as Technical Notes on advanced programming techniques.
NS BASIC is aimed at corporate, business and educational users who need strong communications capabilities and a development environment that can run directly on the Newton or from Windows, Macintosh or Unix platforms. It allows the development of applications for the mobile professional as well as vertical market solutions.
NS BASIC is being used in business, personal productivity, education, scientific and manufacturing applications, with users in over 30 countries. Newton extensions in NS BASIC include fully indexed file I/O, handwritten input, serial and infrared communications, windowing and buttons. Applications can create their own files or access built-in system information, such as Addresses, Notes and Calendar entries.
NS BASIC is available for $99.00 USD plus S & H directly from NS BASIC Corporation (416 264-5999) or from its dealers. Visa and Mastercard are accepted. NS BASIC Corporation can also be reached at 77 Hill Crescent, Toronto, Canada M1M 1J3, fax (416) 264-5888, or at http://www.nsbasic.com.
Subj: Help!! regarding serial port
Date: 95-11-11 15:48:11 EST
From: Ron314159
Posted on: America Online
Hello,
I'm really new to NTK, and I've been playing around with the ACME Serial example that is part of NTK's example library. I've made a new slot in the main view to send the recieved data to a soup. This was set up as a function. In the MInput slot I've added a line to put the incoming data into an array with the ADDARRAYSLOT command. Also, I've added an if-then statement to call my DataToSoup slot when data := "Done". For some reason the Newton doesn't like jumping to DataToSoup. I've tried calling the function several different ways but all I get is an exception that says "An unexpected error has occured. Error Code= 71449564"
How should I make the function call. Does it have something to do with SELF being set up in MInput as the endpoint? What is this error code anyway? It's not listed in my NTK manual. I can't even use the inspector to give me more info because I'm already hooked up to a serial connection!!!
Regards,
Ron
Subj: Re:Help!! serial port
Date: 95-11-12 08:35:55 EST
From: PDC JohnS
Posted on: America Online
Ron, could you post a bit of the code (specifically where the fn is called?) Serial endpoints are tricky, and you can get really weird errors :)
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://users.aol.com/pdcjohns/
Subj: Re:Help!! serial port
Date: 95-11-12 12:31:28 EST
From: Ron314159
Posted on: America Online
This is my modified MInput slot:
func(data) // SELF is the endpoint frame
begin
if fFlushLevel = 0 then // see :MOutput() for more info...
PlaySound(ROM_PlinkBeep); // inputSpec triggered as side-effect of a FlushOutput call
:MMessage(data);
if data = "Done" then :DataToSoup(sdata); // this section is added by me!!!
else if conconfirm = "yes!" then
begin
AddArraySlot(sdata,data);
end;
if data = "connect" then conconfirm := "yes!"; // this is the last line added by me!!!
// :SetInputSpec(fInputHandler); // it is only necessary to set the inputSpec again if the inputSpec has changed since the last trigger
end
I've also tried this approach:
if data = "Done" then
begin
local appBaseView := GetRoot().(kAppSymbol);
appBaseView:DataToSoup(sdata);
end;
else if conconfirm = "yes!" then AddArraySlot(sdata,data);
Both the MInput and DataToSoup slots are located in the clView frame which is the main layout of the application. Any ideas??
Regards,
Ron
Subj: Re:Help!! serial port
Date: 95-11-12 17:31:17 EST
From: PDC JohnS
Posted on: America Online
What's sdata and where is it defined? I think you've got a potential visibility problem with either the data (sdata) or the methods being visible in the handler.
I'll look at the modem example code in the morn and see what I can find.
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://users.aol.com/pdcjohns/
Subj: Re:Help!! serial port
Date: 95-11-12 21:18:18 EST
From: Ron314159
Posted on: America Online
You are exactly right!!! Both sdata and conconfig are not being seen. I've put two statements in the MInput slot to declare the variables and everything seems to work properly (except that sdata and conconfig are initalized every time MInput is called!!) How can I pass these variables into the MInput function? You see, MInput is a function called by InputScript which is automatically called when the serial buffer gets data that meets the input specification (I think that this is how it works).
The problem is that InputScript can only have two parameters, the endpoint and the data. How can I give it the additional parameters such as sdata and conconfig?
Regards,
Ron
Subj: Re:Help!! serial port
Date: 95-11-13 08:58:32 EST
From: PDC JohnS
Posted on: America Online
Usually, you add slots to the endpoint itself to pass additional data. So in the input script
ep.sdata := "whatever";
ep.data := "another whatever";
then in your MInput function, you can extract them from the end point. Make sense?
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://users.aol.com/pdcjohns/
Subj: Re:Help!! serial port
Date: 95-11-13 21:54:18 EST
From: Ron314159
Posted on: America Online
Hmmm....I would have never thought of that! I'll give it a try.
Thanks a lot John, you seem to always be the one with the answer, no matter what Newton board I post a question to. I really appreciate your help.
Regards,
Ron
Subj: Re:Help!! serial port
Date: 95-11-13 23:16:50 EST
From: Ron314159
Posted on: America Online
IT WORKED!!!
IT WORKED!!!
IT WORKED!!!
Tonight is a great night for Newtonscript programming, indeed!!! Thanks, John, I couldn't have done it without you.
Ron
Subj: Musical Applications
Date: 95-11-14 13:00:32 EST
From: Patjazz
Posted on: America Online
Is there any software, to date or currently in being worked on, that involves any kind of musical applications on the Newt?? ie; Guitar tablature, staff background for chord changes, chord or scale dictionaries etc...
If there are any programmers interested in producing such software but are in need of "musical help", please drop me some EMAIL. I'd be very interested in some sort of "co-production".
Patjazz@aol.com
Subj: Re:Help!! serial port
Date: 95-11-14 14:32:30 EST
From: PDC JohnS
Posted on: America Online
No problem. We all get stuck now and then :)
My job is to answer evey question that Hufn doesn't get to first!
Be sure to buy a copy of my book :)
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://users.aol.com/pdcjohns/
Subj: PDADev West Prices Reduced
Date: 95-11-16 10:54:20 EST
From: CDPI
Posted on: America Online
Creative Digital, Inc., publishers of PDA Developers magazine, is pleased to announce a reduction in registration prices for PDA Developers West, the only technical conference for developers of PDA products and services, scheduled for Jan 14-16, 1996, in the San Francisco Bay area. In addition, the early registration deadline has been pushed back to December 10th. Anyone who has already registered will receive a refund for the difference between the previous and the new rates.
"This conference is designed to make it easy for potential PDA developers to investigate the various platforms, provide useful information for active PDA developers, and bring together the technology providers and the developer communities" stated Steve Mann, President of Creative Digital. "We decided that the single most effective way to serve the developer community was to price the conference as low as possible."
On January 14, there are full-day tutorials on developing software for Magic Cap, Psion, GEOS/OmniGo, and Newton platforms. Jan 15 -16 include several concurrent threads, including developer programs, wireless development, advanced programming topics, the business of software development, tools demos, and cool stuff. There are separate registrations for the tutorials and the two-day conference.
Effectively immediately, the new registration rates, which include lunch, are
Tutorial Conference Both Refunds
-------- ---------- ---- -------
Until Dec 10 $75 $300 $350 85%
Until Jan 10 $100 $350 $400 50%
After Jan 10 $125 $400 $450 none
Students $50 $150 $200 85%
For more information or a conference brochure contact Creative Digital, Inc.
I am trying to create an application that will draw a circle anywhere the user taps in a view. I am able to do this with no problem, but on subsequent taps I want to keep the previous circles on the view. So, if the user tapped in 5 places there would be 5 circles on the screen. So far, each tap deletes the previous circle and I only have the current circle on the screen.
I'm using MakeOval and DrawShape to produce the circle.
Any help would be useful. Thanks!
Way Wong
Subj: Re:Drawing question
Date: 95-11-20 15:49:57 EST
From: PDC JohnS
Posted on: America Online
DrawShape can take an array of shapes. You'll want to add each new oval to an array of shapes, and then use drawshape on that. In psudocode:
myShapes := []; // a slot in some view frame
// in viewClick script
...
addArraySlot(myShapes, MakeOval(..));
:DrawShape(myShapes);
...
It's alot like that :)
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://users.aol.com/pdcjohns/
Subj: Drawing question again!
Date: 95-11-21 01:24:48 EST
From: FIRST VLN
Posted on: America Online
Thank you for the help! It works great!
One more question -
After the circles are drawn, is there a way to selectively erase them, ie. tap on a circle and have only that one clear the screen? The answer may be too long for this message board but if you could point me in the right direction I'd appreciate it!
You can also email me
Thanks again!
Way Wong
Subj: NTK
Date: 95-11-22 14:14:35 EST
From: TCHodges
Posted on: America Online
Does anyone out there know the details of the NTK for NewtOS 2.0? Is there FINALLY going to be an NTK for Windows 3.11 or Win 95?
Subj: Re:NTK
Date: 95-11-22 16:08:47 EST
From: PDC Ben
Posted on: America Online
<<Does anyone out there know the details of the NTK for NewtOS 2.0? Is there FINALLY going to be an NTK for Windows 3.11 or Win 95?>>
At the development conference in September they showed off NTK for Windows, then running on a couple of NT machines. It is in beta, so I would imagine it shouldn't be long :-)
Ben Gottlieb (PDC Ben)
PDA Forum Consultant
Subj: Re:I'd like to ...
Date: 95-11-22 23:49:44 EST
From: Jueger
Posted on: America Online
know if programming exists for medical or health files ,I just got two newt pdas for counselors to use in the field and need advice.
jueger
Subj: Developers and Novices
Date: 95-11-25 21:20:54 EST
From: BestWarePR
Posted on: America Online
Does anyone know where I could find some good Newton developers? Are there any programs that allow a novice to create cross-platform (Mac & Win) data collection solutions for Newton? Is Form Logic what I'm looking for?
Barry
Subj: Re:NS BASIC and Newton OS 2.
Date: 95-11-25 21:23:51 EST
From: BestWarePR
Posted on: America Online
Can a complete novice pick up NS Basic or would I need some basic programming experience?
Subj: Re:NS BASIC and Newton OS 2.
Date: 95-11-26 09:02:25 EST
From: PDC JohnS
Posted on: America Online
Novice users will be able to learn NS BASIC. It will require some effort on your part, and you may want to purchase a Book on basic programming to help you learn. I suggest our book: "BASIC for the Newton". Info on the book in on my WWW home page (URL below). You can order NS BASIC *and* the book directly from NS BASIC corp with a $10 discount.
Note that I co-wrote this book, so I'm biased. There are links to two independent reviews (Mobilis and "Thor's programming page") of the book on my home page.
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://members.aol.com/pdcjohns/
Subj: Draw coorrdinates
Date: 95-11-29 11:25:08 EST
From: FIRST VLN
Posted on: America Online
I am wondering if my interpretation of the NPG's description of shape-creation right and bottom parameters is correct:
All of these functions have the basic parameters of (left, top, right, bottom)
If you look, for example, at MakeOval on p. 9-5 it reads:
right The y-coordinate of the bottom-right corner of the oval's enclosing rectangle
bottom The x-coordinate of the bottom-right corner of the oval's enclosing rectangle
So if I wanted a oval that is longer vertically, then according to the manual I would code MakeOval(0,0,20,10) .
Therefore, left = 0
top = 0
right = 20
bottom = 10
But if I do this, the oval is longer horizontally!
So I coded MakeOval(0, 0, 10, 20) and I do get a vertical oval. This leads me to believe that the manual has misprinted the x and y 's and should read:
right The x-coordinate of the bottom-right corner of the oval's enclosing rectangle
bottom The y-coordinate of the bottom-right corner of the oval's enclosing rectangle
(I hope I'm clear on what I'm trying to explain!)
Is my understanding of the Newton coordinate system correct?
I am also taking from Fig. 2-6 viewBounds example on p. 2-17 of the NPG: Left and Right in the diagram are x (horizontal) coordinates, while Top and Bottom are y (vertical) coordinates. Does this hold true in a shape-creating functions?
Please help me clarify this!
thanks!
Way Wong
Subj: Books and OS 2.0
Date: 95-12-01 10:17:12 EST
From: Quihi
Posted on: America Online
I just ordered one McKeehan & Rhodes' Programming for the Newton, and I have 2 questions:
1. How applicable is the information for OS 2.0. I just received a MP 120/2.0, can I use the book to program it?
2. Will the demo NTK included work with OS 2.0?
I'd appreciate any information you can give me.
Thanx
Jim Stewart
Subj: Re:Books and OS 2.0
Date: 95-12-01 12:36:33 EST
From: PDC Ben
Posted on: America Online
<<1. How applicable is the information for OS 2.0. I just received a MP 120/2.0, can I use the book to program it?
2. Will the demo NTK included work with OS 2.0?>>
It's fully applicable, there's just a lot of NEW stuff in 2.0, which is not covered in the book. The demo should work under 2.0 as well.
Ben Gottlieb (PDC Ben)
PDA Forum Consultant
Subj: Re:Draw coorrdinates
Date: 95-12-01 12:38:23 EST
From: PDC Ben
Posted on: America Online
<<MakeOval(0,0,20,10) .
Therefore, left = 0
top = 0
right = 20
bottom = 10>>
This is correct...in situations where four numbers are transformed into a rectangle, the order is left, top, right, bottom. This should work...can you post the exact code you're using, and we'll try to dissect it from there.
Ben Gottlieb (PDC Ben)
PDA Forum Consultant
Subj: Re:Draw Coordinates
Date: 95-12-01 13:30:05 EST
From: FIRST VLN
Posted on: America Online
Thanks for the reply, Ben!
I guess my main question is which of the following is correct:
(Look carefully at the x and y's)
right The x-coordinate of the bottom-right corner of the oval's enclosing rectangle
bottom The y-coordinate of the bottom-right corner of the oval's enclosing rectangle
or
right The y-coordinate of the bottom-right corner of the oval's enclosing rectangle
bottom The x-coordinate of the bottom-right corner of the oval's enclosing rectangle
(this is what's printed in the NPG)
-------------------------------------------
I also have a copy of NewtRTFM and it shows:
right- X coord of bottom right corner
bottom - Y coord of bottom right corner
If NewtRTFM is correct then is the NPG misprinted (x and Y switched for right and bottom)??
thanks for helping me clear this up!
Way Wong
Subj: Re:Draw Coordinates
Date: 95-12-06 21:27:53 EST
From: PDC Ben
Posted on: America Online
If you put the oval in a rectangle, it would look like this:
(left, top) (right, top)
+--------------------+
| |
| |
| |
| |
| |
| |
+--------------------+
(left, bottom) (right, bottom)
So, right is the rightmost x, and bottom is the bottommost y, just as it should be...the NPG must be wrong.
Ben Gottlieb (PDC Ben)
PDA Forum Consultant
Subj: Re:Draw coordinates
Date: 95-12-07 00:09:45 EST
From: FIRST VLN
Posted on: America Online
Thanks for clearing this up!
I thought I was right! I have told this to the e-world Newton people and they didn't seem to agree that the NPG is misprinted.
Now I don't feel like I was losing my mind. Thanks again!
Way Wong
Subj: NTK 1.5 Type 1 Error
Date: 95-12-09 17:45:12 EST
From: Rod Smith
Posted on: America Online
...I've installed NTK 1.5 on a Quadra 950 running 7.5. When I double click NTK, I get a type 1 error message. I read the trouble shooting section and don't see anything that jumps out at me? I did have the early demoNTK from the book install but I can't imagine that being a culprit.
Any help will be appreciated.
Rod
Subj: Re:NTK 1.5 Type 1 Error
Date: 95-12-09 22:23:47 EST
From: TomU216
Posted on: America Online
Rod,
Check for a "Newton Tollkit Preferences" file in the Preferences folder of the System folder. Delete it if it is there and try opening NTK again.
Regards,
Tom Unkefer
Nomadic Technologies
Subj: Re:NTK 1.5 Type 1 Error
Date: 95-12-10 08:11:46 EST
From: Rod Smith
Posted on: America Online
That cured the problem!
Thanks again,
Rod
Subj: NEWTON PRESS: No windows?
Date: 95-12-31 12:47:17 EST
From: NYPwr1
Posted on: America Online
How can a windows '95 user like myself get his hands on the new beta of newton press. I saw there is a Mac beta; no windows beta. If it is a sit format I can use it but I do not know that it is. Thanks for your help. Email me if you dont mind.
Subj: Newton resources
Date: 96-01-02 15:07:53 EST
From: HVAlfrey
Posted on: America Online
I'm looking for a few things for my Newton:
1) Where can I find some detailed instructions on setting up and using Aloha???
2) Where do you find the Tone Dialer program???
3) Is there a program that I can run on my Mac Duo 270C that will let me emulate the operation of my 120 --- call up software from the Newton Backup files and use it on the Mac Duo screen????
4) What's the new keyboard for???? Does it work with specific software only???
5) I have a Motorola Cellect modem -- I downloaded Modem Mod, etc. but don't have a clue as to what to do with the stuff -- (I'm really bad at computer stuff) Where do I find info on this that makes sense???
Subj: Help! User protos.
Date: 96-01-07 14:13:06 EST
From: FreeFall45
Posted on: America Online
For some reason I get the error "unrecognized variable" when I reference any of my user defined protos. I reference them with the PT_ MyProto. MyProto is saved to the MyProto.t file, it is added to the project and available in the pallete. It is defined as MyProto in Template Info... I have tried re-ordering the build order. I get the error when I create a frame and give it the slot _proto:PT_MyProto. My intent is to then supply the frame to the AddStepView function. I am calling AddStepView in a user-defined script, not in any of the view initialization scripts. Can anyone tell me what I am doing wrong??? Thanks.
Subj: Re:Help! User protos.
Date: 96-01-08 08:56:00 EST
From: PDC JohnS
Posted on: America Online
My guess is that you are using the 1.5 or 1.6 NTK. They changed the rules for accessing user protos. You might want to read up on the NTK docs.
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://members.aol.com/pdcjohns/
Subj: Help: protoExpandoShell
Date: 96-01-15 19:08:18 EST
From: FreeFall45
Posted on: America Online
On my last posting about user protos - I use NTK 1.5, but even building with the NTK 1.0 build rules, I still couldnt reference my protos with PT_, thanks for the help though. Now I have another question. I have a protoExpandoShell with six protoTextExpando frames. I would like one line expansions for all but one of these, for which I would like a 3 line expansion. I have fiddled with the viewBounds (among others) for this particular protoExpandoText, but to no avail. Is there anything I can do or am I stuck with the same size expansion for all fields? Thanks for your help!
Subj: Recognizer styles in 2.0
Date: 96-01-16 15:51:43 EST
From: EHorst
Posted on: America Online
In reading the beta 2.0 developer documentation, I've noticed that the Newton 2.0 "recCongig" frame has a "letterSetSelection" slot that can be set to "kUpperCaseCharSetInfo" to indicate an uppercase-only character printing style. This is my handwriting style and, with the Print recognizer selected in 2.0, it gets my letters right, but they are ALL UPPERCASE (even when I write my capital letters 2-3X my "lowercase" ones).
Question: Does anyone know if this setting has any effect with 2.0?
There are warnings in the documentation that says setting this may have no effect, but I was just hoping that it was a "mostly-implemented" feature in 2.0 that Apple chose not to finish in order to hit a deadline.
Thanks,
Ed
Subj: Beginner, beginner help
Date: 96-01-17 20:16:58 EST
From: DHall866
Posted on: America Online
I am interested in learning how to program for the newton, however, I have absolutely no idea on what to do or how to get there. I would like to know where to get started and if there is any shareware versions of what I may need. If not, I would appreciate any help that anyone could give me on where to find such software. I really have little clue as to programming for the newton so every little bit of information will greatly help me!! Thanks!
Subj: Re:Beginner, beginner help
Date: 96-01-18 09:26:12 EST
From: PDC JohnS
Posted on: America Online
See my home page for some info on programming on the Newton in NS BASIC.
You can also try out NewtDevEnv (here in the AOL libs) and the Programming for the Newton book published by AP Professional.
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://members.aol.com/pdcjohns/
Subj: Re:Beginner, beginner help
Date: 96-01-19 12:41:24 EST
From: SteveWeyer
Posted on: America Online
for more info about NewtDevEnv, see newt-devenv-32.sit, NEWT-32.ZIP here on AOL.
or,
http://www.netaxs.com/~weyer/newton/releases.html
steve
(Newt author)
Subj: Help: time out guide to london
Date: 96-01-20 17:16:38 EST
From: KHeneghan
Posted on: America Online
Hi,
I need some help with my Time Out Guide to London. The application is on a PC card. Under system 2.0 the directional arrows do not function on the street and subway maps. I am unable to scroll the map in the direction I want and therefore cannot make full use of the maps. These arrows do work on the two airport maps.
Also, the scroll arrows on the lists of pubs, attractions, etc. do not work.
I wonder if there might be a patch or something which might solve my problem. Maybe I could create my own. Any ideas? Any help would be greatly appreciated.
Thanks,
Kevin
KHeneghan@aol.com
Subj: Ragout 2.0 Announcement
Date: 96-01-28 16:05:13 EST
From: CDigital
Posted on: America Online
Creative Digital Inc. is pleased to announce the immediate availability of Ragout (Ragu') 2.0 for Newton 2.0 users. Ragout is the ultimate soup tool, designed for Newton developers, consultants, and power users. Incorporating an intuitive, easy-to-use interface that displays all essential soup information, Ragout lets you:
* Create, delete, copy, and move soups;
* Add and remove soup indices;
* Create, delete, copy, move, view, and edit soup entries, and change slot data types;
* Delete all entries in a soup or index;
* Create multiple copies of a soup entry, a feature that is particularly useful for sizing potential soup structures.
* Fax and print soup information and entry details for documentation purposes; and
* Beam soup entries to another Newton.
Ragout has a variety other features that let you easily navigate within a set of soup entries. First, you can step into and out of nested frame and array structures to an arbitrary depth, giving you complete access to all the data in a soup. You can also move to the first and last entries within a soup, move forward and backward 1 or N entries, set and go to a specific tagged entry, or search for a specific entry by index value. These operations are all done within the context of a specific index or the entire contents of a soup.
An demo version of Ragout 2.0, in a Stuffit archive named RagoutD.sit, has been posted on:
* CompuServe (GO NEXTVENS, look in the Creative Digital library)
* ftp://newton.uiowa.edu/submissions/RagoutD.sit
* America Online - Computing/PDAs/Newton Resource Center/PDA Development Files
* Creative Digital's web site at http://www.slip.net/~cdi
The demo version, plus the 2.0 version, only work on Newton 2.0 systems. Ragout 2.0 includes a separate version of Ragout for Newton 1.x systems.
Created by Ricardo Martinez, Ragout is available exclusively from Creative Digital Inc., publishers of PDA Developers magazine and several Newton developer tools, including Jason Harper's ViewFrame debugger. Ragout's retail price is $55, $45 for subscribers to PDA Developers magazine, $40 for registered ViewFrame owners. Shipping and handling is $7.50 within North America, $12.50 elsewhere. Dealer, distributor, and site license inquiries are welcome.
Creative Digital Inc. is pleased to announce the immediate availabiltiy of ViewFrame 1.2, the Newton 2.0-savvy version of Jason Harper's Newton-resident debugger and browser that lets you do things you can't even do with the Inspector. You can browse an application's complete object space, examining and modifying almost all objects in that space in multiple formats, without tying up the Newton's serial port. ViewFrame has a unique additions architecture, which uses auto parts for related groups of functions, so that you can load just those commands you need, minimizing memory use.
The latest version of ViewFrame works with all Newton 1.x and 2.0 systems. Some improvements and enhancements are extensions and refinements of previous ViewFrame capabilities. Others features, which are Newton 2.0-specific, are contained in the brand new VF+Dante Addition package, which runs only on Newton 2.0 systems.
New features in ViewFrame 1.2 include:
* The ViewFinder, a tool for visually locating open views for examination. The ViewFinder includes buttons for locating the parent, siblings, and children of the current view;
* Expanded object description information, including location, class, and frame map data;
* An expandable expression entry line for entering and viewing long object path names;
* Direct opening and closing of the NTK Toolkit application from ViewFrame;
* A shrink button, reducing ViewFrame to a small, three-button pallette so that other view objects are readily visible;
* Support for Drag & Drop, including a special Drop Tester package for testing Drap & Drop code;
* Several enhancements to object viewing, including additional formats and increased intelligence. A new Location format focuses on describing where parts of objects are stored, not their values;
* An improved function viewer that works with the new Newton 2.0 package format;
* A new Find PC viewer that pinpoints a NewtonScript function's Program Counter location as shown in an Inspector stack trace;
* A new VF+Dante Addition that includes support for VBOs, soup aliases and mock entries, and a soup browser; and
* BugDrop, a special backdrop application for debugging.
ViewFrame 1.2 includes an improved and expanded 56-page manual, plus a 30-page Additions document on disk. An abbreviated version of the manual plus the Additions documentation is available in a Stuffit archive named VF12Docs.sit on Creative Digital's web site, their vendor forum on CompuServe (GO NEXTVENS), America Online (PDAs/New File and Free Uploading), and at ftp://newton.uiowa.edu /submissions/VF12Docs.sit.newest . The documentation requires a Common Ground viewer. A demo version of ViewFrame 1.2 should be available within the next few weeks.
Created by Ricardo Martinez, ViewFrame is available exclusively from Creative Digital Inc., publishers of PDA Developers magazine and several other Newton developer tools including Ragout, Ricardo Martinez's soup utility. ViewFrame is $90, $70 for subscribers to PDA Developers magazine. Upgrades from version 1.1 to 1.2 are $20. Upgrades from version 1.0 to 1.2 are $40. Shipping and handling is charged for all orders - $7.50 in North America, $12.50 to all other locations. Dealer, distributor, and site license inquiries are welcome.
SOUP: What does this term mean? Please e-mail me back if you know.
KuroiTaiyo
Subj: Re:SOUP?
Date: 96-03-01 10:51:15 EST
From: PDC JohnS
Posted on: America Online
Soup is like "File" in most computers.
Except Soups have more capabilities, you can store any kind of object in a Soup, not just fixed records. So it's more like "Linear access object repository - with multi-key indexes and dynamic memory management" - but soup sounds more friendly.
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://members.aol.com/pdcjohns/
Subj: Globals and other stuff
Date: 96-03-08 14:38:47 EST
From: KristoferC
Posted on: America Online
Hi, I am working a a Newton app and had some questions that are quite basic.
I have a base view and then I have another view in a seperate layout window called prefs. I want to allow the user to enter a preference and have it be available to other views. So for our example, say I want to have a pref called Observer and it will just be a string. How would I add it to the base laout window and then if I want to prefill a protoInputLine with the test stored in Observer, how do I access it? Furthermore, how can I put that string back into the global Observer when the user exits the prefs view?
Any help would be appreciated.
Kris
Subj: Re:Globals and other stuff
Date: 96-03-09 07:57:51 EST
From: PDC JohnS
Posted on: America Online
First, declare the linked layout to the base view. This lets the layout access slots in the base view, and send messages there.
Now you have two choices. You can either provide get/set methods for the value, or you can have your linked view access the slot directly.
If this makes sense, great, if not I can post more info.
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://members.aol.com/pdcjohns/
Subj: Re:Globals and other stuff
Date: 96-03-09 22:57:57 EST
From: KristoferC
Posted on: America Online
Thanks. That makes perfect sense.
Kris
Subj: Editable Pick Lists..
Date: 96-03-09 23:00:39 EST
From: KristoferC
Posted on: America Online
I have seen labelpickers that allow the user to pick edit and add, remove or edit entries in the pick list. How can I do this?
I have tried using a textchanged script attached to the labelpicker and in it I used addarrauslot to its labelCommands array. I get an error though. Also, when I tried to add 'pickseperator to the labelCommands list I get an error.
Does anyone know how to do this?
Kris
Subj: UsrConfiguration..
Date: 96-03-09 23:45:49 EST
From: KristoferC
Posted on: America Online
I would like to be able to read in the useername from the preferences into my application. How do I do this? I tried just puttin userConfiguration.name and I don't get the name.
Kris
Subj: Playing a sound..
Date: 96-03-09 23:48:48 EST
From: KristoferC
Posted on: America Online
I am trying to figure out how to play a sound. I tried the built -in bell, trill and others like this:
Playsound(bell);
doesn't work. How do I do this? Can I add my own sounds?
Kris
Subj: Re:Many Questions ;)
Date: 96-03-10 07:17:56 EST
From: PDC JohnS
Posted on: America Online
Kris,
Sounds like you need to get the NTK documentation from the Apple ftp site. Are you using NewtDevEnv or the Demo NTK on a Mac. I guess the real question is do you have a Mac, since the NTK docs are currently only available in Mac-readable form
If you have a Mac let me know and I'll get the URL for the NTK docs. You can surf the web from Keword Newton - Newton Web, Apple's Newton Development Home Page to find it yourself. The NTK docs are big (4+mb, as I recall) so you need a fast modem to download them. It's worth it, as *all* your questions can be answered there.
On to the answers!
User configuration:
User configuration now has accessor functions that I don't remember, but you might also try
getglobals().userconfiguration
to get the whole frame - I believe the name is split into two parts in Newton 2.0
Editable Pick Lists are tricky. First, you need an editable copy of the array:
local myLableCommands := clone(lableCommands)
addArraySlot(myLableCommands, "New entry");
labelCommands := myLableCommands;
This may work, but there are better ways of doing it. This is off the top of my head at 7am on sunday ;)
Playing sounds. I believe you need to use a message:
:playSound(soundRef);
there is also
:playSoundAsync(soundRef);
soundRef is not a string, you need to locate the sound to play and pass it into "play". There are NTK defitions for the built-in sounds. You can attach a Mac .snd resource to your project and play it this way as well.
- John Schettino, PDC JohnS, Keyword PDA is where to find us!
PDA Forum Consultant and Newton File Librarian
HomePage: http://members.aol.com/pdcjohns/
Subj: Re:Many Questions ;)
Date: 96-03-10 21:15:53 EST
From: KristoferC
Posted on: America Online
John,
I am using a Mac and the Demo NTK. I am planning on getting the real version soon. Thanks for the information about the docs, I will try to locate them.
Thanks for the help.
Kris
Subj: Indirect Messaging...
Date: 96-03-15 04:01:25 EST
From: KristoferC
Posted on: America Online
I have a quesiton about how to indirectly message a view to show. I have several views that are subview of the main view. Previously, I had create a seperate SHOWVIEW methos for each View I wanted to show. For instance, I may have a view called Information and I would then have a ShowInfo method that would Show the view. I have one of these for each view. It seems to me that I should be able to indirectly send this show message to the view without having to write a seperate method for each layout I want to add to my project.
I am thinking of something liek this:
base.showview
func(the_view)
begin
the_view: show();
end
then if I wanted to open the view INFORMATION or whatever, I could call showview('information).
Using the ' doesn't work however. Any ideas?
Kris
Subj: Re:Indirect Messaging...
Date: 96-03-15 13:37:36 EST
From: Gregvaughn
Posted on: America Online
You need to use the global function Perform. This lets you give the view name as a symbol. Something like:
base.showview: func(viewNameSymbol)
Perform(viewNameSymbol,'Show,nil);
The third param to Perform is an array of parameters to pass to the method (second param). In 2.0 you can pass nil if there are no params. In 1.3 you've got to give it an empty array ([]) in the third param.